home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1993-06-15 | 16.3 KB | [TEXT/MPS ] |
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
Confidence | Program | Detection | Match Type | Support
|
---|
66%
| dexvert
| ZX81 Sinclair BASIC (image/sinclairBASIC)
| ext
| Supported |
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
1%
| dexvert
| Applause Picture (image/applausePicture)
| ext
| Unsupported |
1%
| dexvert
| bsdiff patch (other/bsdiffPatch)
| ext
| Unsupported |
1%
| dexvert
| imgdiff patch (other/imgdiffPatch)
| ext
| Unsupported |
1%
| dexvert
| MATLAB p-code (other/matlabPCode)
| ext
| Unsupported |
1%
| dexvert
| WSUS Patch Storage File (other/wsusPatchStorageFile)
| ext
| Unsupported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| MacBinary II, inited, Tue Jun 15 12:16:48 1993, modified Tue Jun 15 12:16:48 1993, creator 'MPS ', type ASCII, 15975 bytes "Controls.p" , at 0x3ee7 428 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
74%
| TrID
| Macintosh plain text (MacBinary)
| default
| |
25%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [TEXT] |
macFileCreator | [MPS ] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0a 43 6f 6e 74 72 6f | 6c 73 2e 70 00 00 00 00 |..Contro|ls.p....|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4d 50 53 | 20 01 00 00 00 00 00 00 |.TEXTMPS| .......|
|00000050| 00 00 00 00 00 3e 67 00 | 00 01 ac a8 43 a6 70 a8 |.....>g.|....C.p.|
|00000060| 43 a6 70 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |C.p.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 67 96 00 00 |........|....g...|
|00000080| 7b 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |{*******|********|
|00000090| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000000a0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 0d 3b 20 |********|*****.; |
|000000b0| 46 69 6c 65 3a 20 43 6f | 6e 74 72 6f 6c 73 2e 70 |File: Co|ntrols.p|
|000000c0| 0d 3b 0d 3b 0d 3b 20 43 | 6f 70 79 72 69 67 68 74 |.;.;.; C|opyright|
|000000d0| 20 41 70 70 6c 65 20 43 | 6f 6d 70 75 74 65 72 2c | Apple C|omputer,|
|000000e0| 20 49 6e 63 2e 20 31 39 | 38 36 2d 39 33 0d 3b 20 | Inc. 19|86-93.; |
|000000f0| 41 6c 6c 20 52 69 67 68 | 74 73 20 52 65 73 65 72 |All Righ|ts Reser|
|00000100| 76 65 64 0d 3b 0d 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |ved.;.**|********|
|00000110| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000120| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000130| 2a 2a 7d 0d 0d 55 4e 49 | 54 20 43 4f 4e 54 52 4f |**}..UNI|T CONTRO|
|00000140| 4c 53 3b 0d 0d 49 4e 54 | 45 52 46 41 43 45 0d 0d |LS;..INT|ERFACE..|
|00000150| 55 53 45 53 20 54 59 50 | 45 53 2c 51 55 49 43 4b |USES TYP|ES,QUICK|
|00000160| 44 52 41 57 2c 45 56 45 | 4e 54 53 3b 0d 0d 43 4f |DRAW,EVE|NTS;..CO|
|00000170| 4e 53 54 0d 7b 20 41 78 | 69 73 20 50 61 72 61 6d |NST.{ Ax|is Param|
|00000180| 65 74 65 72 73 20 7d 0d | 6e 6f 43 6f 6e 73 74 72 |eters }.|noConstr|
|00000190| 61 69 6e 74 20 3d 20 24 | 30 30 30 30 3b 20 20 7b |aint = $|0000; {|
|000001a0| 20 4e 6f 20 63 6f 6e 73 | 74 72 61 69 6e 74 20 6f | No cons|traint o|
|000001b0| 6e 20 6d 6f 76 65 6d 65 | 6e 74 2e 20 7d 0d 68 41 |n moveme|nt. }.hA|
|000001c0| 78 69 73 4f 6e 6c 79 20 | 3d 20 24 30 30 30 31 3b |xisOnly |= $0001;|
|000001d0| 20 20 7b 20 48 6f 72 69 | 7a 6f 6e 74 61 6c 20 61 | { Hori|zontal a|
|000001e0| 78 69 73 20 6f 6e 6c 79 | 2e 20 7d 0d 76 41 78 69 |xis only|. }.vAxi|
|000001f0| 73 4f 6e 6c 79 20 3d 20 | 24 30 30 30 32 3b 20 20 |sOnly = |$0002; |
|00000200| 7b 20 56 65 72 74 69 63 | 61 6c 20 61 78 69 73 20 |{ Vertic|al axis |
|00000210| 6f 6e 6c 79 2e 20 7d 0d | 0d 7b 20 43 74 6c 46 6c |only. }.|.{ CtlFl|
|00000220| 61 67 20 7d 0d 73 69 6d | 70 52 6f 75 6e 64 20 3d |ag }.sim|pRound =|
|00000230| 20 24 30 30 30 30 3b 20 | 20 7b 20 53 69 6d 70 6c | $0000; | { Simpl|
|00000240| 65 20 62 75 74 74 6f 6e | 20 66 6c 61 67 20 7d 0d |e button| flag }.|
|00000250| 75 70 46 6c 61 67 20 3d | 20 24 30 30 30 31 3b 20 |upFlag =| $0001; |
|00000260| 20 7b 20 53 63 72 6f 6c | 6c 20 62 61 72 20 66 6c | { Scrol|l bar fl|
|00000270| 61 67 2e 20 20 7d 0d 62 | 6f 6c 64 42 75 74 74 6f |ag. }.b|oldButto|
|00000280| 6e 20 3d 20 24 30 30 30 | 31 3b 20 20 7b 20 42 6f |n = $000|1; { Bo|
|00000290| 6c 64 20 72 6f 75 6e 64 | 20 63 6f 72 6e 65 72 65 |ld round| cornere|
|000002a0| 64 20 6f 75 74 6c 69 6e | 65 64 20 62 75 74 74 6f |d outlin|ed butto|
|000002b0| 6e 2e 20 7d 0d 73 69 6d | 70 42 52 6f 75 6e 64 20 |n. }.sim|pBRound |
|000002c0| 3d 20 24 30 30 30 31 3b | 20 20 7b 20 53 69 6d 70 |= $0001;| { Simp|
|000002d0| 6c 65 20 62 75 74 74 6f | 6e 20 66 6c 61 67 20 7d |le butto|n flag }|
|000002e0| 0d 64 6f 77 6e 46 6c 61 | 67 20 3d 20 24 30 30 30 |.downFla|g = $000|
|000002f0| 32 3b 20 20 7b 20 53 63 | 72 6f 6c 6c 20 62 61 72 |2; { Sc|roll bar|
|00000300| 20 66 6c 61 67 2e 20 7d | 0d 73 69 6d 70 53 71 75 | flag. }|.simpSqu|
|00000310| 61 72 65 20 3d 20 24 30 | 30 30 32 3b 20 20 7b 20 |are = $0|002; { |
|00000320| 53 69 6d 70 6c 65 20 62 | 75 74 74 6f 6e 20 66 6c |Simple b|utton fl|
|00000330| 61 67 20 7d 0d 73 69 6d | 70 44 72 6f 70 53 71 75 |ag }.sim|pDropSqu|
|00000340| 61 72 65 20 3d 20 24 30 | 30 30 33 3b 20 20 7b 20 |are = $0|003; { |
|00000350| 53 69 6d 70 6c 65 20 62 | 75 74 74 6f 6e 20 66 6c |Simple b|utton fl|
|00000360| 61 67 20 7d 0d 6c 65 66 | 74 46 6c 61 67 20 3d 20 |ag }.lef|tFlag = |
|00000370| 24 30 30 30 34 3b 20 20 | 7b 20 53 63 72 6f 6c 6c |$0004; |{ Scroll|
|00000380| 20 62 61 72 20 66 6c 61 | 67 2e 20 7d 0d 72 69 67 | bar fla|g. }.rig|
|00000390| 68 74 46 6c 61 67 20 3d | 20 24 30 30 30 38 3b 20 |htFlag =| $0008; |
|000003a0| 20 7b 20 53 63 72 6f 6c | 6c 20 62 61 72 20 66 6c | { Scrol|l bar fl|
|000003b0| 61 67 2e 20 7d 0d 64 69 | 72 53 63 72 6f 6c 6c 20 |ag. }.di|rScroll |
|000003c0| 3d 20 24 30 30 31 30 3b | 20 20 7b 20 53 63 72 6f |= $0010;| { Scro|
|000003d0| 6c 6c 20 62 61 72 20 66 | 6c 61 67 2e 20 7d 0d 68 |ll bar f|lag. }.h|
|000003e0| 6f 72 53 63 72 6f 6c 6c | 20 3d 20 24 30 30 31 30 |orScroll| = $0010|
|000003f0| 3b 20 20 7b 20 53 63 72 | 6f 6c 6c 20 62 61 72 20 |; { Scr|oll bar |
|00000400| 66 6c 61 67 2e 20 7d 0d | 66 61 6d 69 6c 79 20 3d |flag. }.|family =|
|00000410| 20 24 30 30 37 46 3b 20 | 20 7b 20 4d 61 73 6b 20 | $007F; | { Mask |
|00000420| 66 6f 72 20 72 61 64 69 | 6f 20 62 75 74 74 6f 6e |for radi|o button|
|00000430| 20 66 61 6d 69 6c 79 20 | 6e 75 6d 62 65 72 20 7d | family |number }|
|00000440| 0d 63 74 6c 49 6e 56 69 | 73 20 3d 20 24 30 30 38 |.ctlInVi|s = $008|
|00000450| 30 3b 20 20 7b 20 69 6e | 76 69 73 69 62 6c 65 20 |0; { in|visible |
|00000460| 6d 61 73 6b 20 66 6f 72 | 20 61 6e 79 20 74 79 70 |mask for| any typ|
|00000470| 65 20 6f 66 20 63 6f 6e | 74 72 6f 6c 20 20 7d 0d |e of con|trol }.|
|00000480| 66 43 61 6c 6c 57 69 6e | 64 6f 77 4d 67 72 20 3d |fCallWin|dowMgr =|
|00000490| 20 24 30 30 30 31 3b 20 | 20 7b 20 43 6f 6e 74 72 | $0001; | { Contr|
|000004a0| 6f 6c 20 54 65 6d 70 6c | 61 74 65 20 66 6c 61 67 |ol Templ|ate flag|
|000004b0| 20 76 61 6c 75 65 20 7d | 0d 66 53 75 62 73 74 69 | value }|.fSubsti|
|000004c0| 74 75 74 65 54 65 78 74 | 20 3d 20 24 30 30 30 32 |tuteText| = $0002|
|000004d0| 3b 0d 66 53 75 62 54 65 | 78 74 54 79 70 65 20 3d |;.fSubTe|xtType =|
|000004e0| 20 24 30 30 30 31 3b 0d | 69 6e 4c 69 73 74 42 6f | $0001;.|inListBo|
|000004f0| 78 20 3d 20 24 38 38 3b | 0d 66 42 6c 61 73 74 54 |x = $88;|.fBlastT|
|00000500| 65 78 74 20 3d 20 24 30 | 30 30 34 3b 20 7b 20 73 |ext = $0|004; { s|
|00000510| 74 61 74 69 63 20 74 65 | 78 74 20 63 6f 6e 74 72 |tatic te|xt contr|
|00000520| 6f 6c 20 7d 0d 66 54 65 | 78 74 43 61 6e 44 69 6d |ol }.fTe|xtCanDim|
|00000530| 20 3d 20 24 30 30 30 38 | 3b 20 7b 20 73 74 61 74 | = $0008|; { stat|
|00000540| 69 63 20 74 65 78 74 20 | 63 6f 6e 74 72 6f 6c 20 |ic text |control |
|00000550| 7d 0d 66 53 71 75 69 73 | 68 54 65 78 74 20 3d 20 |}.fSquis|hText = |
|00000560| 24 30 30 31 30 3b 20 7b | 20 73 74 61 74 69 63 20 |$0010; {| static |
|00000570| 74 65 78 74 20 63 6f 6e | 74 72 6f 6c 20 7d 0d 66 |text con|trol }.f|
|00000580| 4e 6f 54 72 61 63 6b 49 | 63 6f 6e 20 3d 20 24 30 |NoTrackI|con = $0|
|00000590| 30 30 38 3b 20 7b 20 6d | 61 6b 65 20 69 63 6f 6e |008; { m|ake icon|
|000005a0| 20 62 75 74 74 6f 6e 20 | 70 6c 61 79 20 64 65 61 | button |play dea|
|000005b0| 64 20 7d 0d 0d 7b 20 43 | 74 6c 50 72 6f 63 20 43 |d }..{ C|tlProc C|
|000005c0| 6f 64 65 73 20 7d 0d 73 | 69 6d 70 6c 65 50 72 6f |odes }.s|implePro|
|000005d0| 63 20 3d 20 24 30 30 30 | 30 30 30 30 30 3b 0d 63 |c = $000|00000;.c|
|000005e0| 68 65 63 6b 50 72 6f 63 | 20 3d 20 24 30 32 30 30 |heckProc| = $0200|
|000005f0| 30 30 30 30 3b 0d 72 61 | 64 69 6f 50 72 6f 63 20 |0000;.ra|dioProc |
|00000600| 3d 20 24 30 34 30 30 30 | 30 30 30 3b 0d 73 63 72 |= $04000|000;.scr|
|00000610| 6f 6c 6c 50 72 6f 63 20 | 3d 20 24 30 36 30 30 30 |ollProc |= $06000|
|00000620| 30 30 30 3b 0d 67 72 6f | 77 50 72 6f 63 20 3d 20 |000;.gro|wProc = |
|00000630| 24 30 38 30 30 30 30 30 | 30 3b 0d 0d 7b 20 44 65 |$0800000|0;..{ De|
|00000640| 66 50 72 6f 63 20 43 6f | 6d 6d 61 6e 64 73 20 7d |fProc Co|mmands }|
|00000650| 0d 64 72 61 77 43 74 6c | 20 3d 20 24 30 30 30 30 |.drawCtl| = $0000|
|00000660| 3b 20 20 7b 20 44 72 61 | 77 20 63 6f 6e 74 72 6f |; { Dra|w contro|
|00000670| 6c 20 63 6f 6d 6d 61 6e | 64 2e 20 7d 0d 63 61 6c |l comman|d. }.cal|
|00000680| 63 43 52 65 63 74 20 3d | 20 24 30 30 30 31 3b 20 |cCRect =| $0001; |
|00000690| 20 7b 20 43 6f 6d 70 75 | 74 65 20 64 72 61 67 20 | { Compu|te drag |
|000006a0| 52 45 43 54 20 63 6f 6d | 6d 61 6e 64 2e 20 7d 0d |RECT com|mand. }.|
|000006b0| 74 65 73 74 43 74 6c 20 | 3d 20 24 30 30 30 32 3b |testCtl |= $0002;|
|000006c0| 20 20 7b 20 48 69 74 20 | 74 65 73 74 20 63 6f 6d | { Hit |test com|
|000006d0| 6d 61 6e 64 2e 20 7d 0d | 69 6e 69 74 43 74 6c 20 |mand. }.|initCtl |
|000006e0| 3d 20 24 30 30 30 33 3b | 20 20 7b 20 49 6e 69 74 |= $0003;| { Init|
|000006f0| 69 61 6c 69 7a 65 20 63 | 6f 6d 6d 61 6e 64 2e 20 |ialize c|ommand. |
|00000700| 7d 0d 64 69 73 70 43 74 | 6c 20 3d 20 24 30 30 30 |}.dispCt|l = $000|
|00000710| 34 3b 20 20 7b 20 44 69 | 73 70 6f 73 65 20 63 6f |4; { Di|spose co|
|00000720| 6d 6d 61 6e 64 2e 20 7d | 0d 70 6f 73 43 74 6c 20 |mmand. }|.posCtl |
|00000730| 3d 20 24 30 30 30 35 3b | 20 20 7b 20 4d 6f 76 65 |= $0005;| { Move|
|00000740| 20 69 6e 64 69 63 61 74 | 6f 72 20 63 6f 6d 6d 61 | indicat|or comma|
|00000750| 6e 64 2e 20 7d 0d 74 68 | 75 6d 62 43 74 6c 20 3d |nd. }.th|umbCtl =|
|00000760| 20 24 30 30 30 36 3b 20 | 20 7b 20 43 6f 6d 70 75 | $0006; | { Compu|
|00000770| 74 65 20 64 72 61 67 20 | 70 61 72 61 6d 65 74 65 |te drag |paramete|
|00000780| 72 73 20 63 6f 6d 6d 61 | 6e 64 2e 20 7d 0d 64 72 |rs comma|nd. }.dr|
|00000790| 61 67 43 74 6c 20 3d 20 | 24 30 30 30 37 3b 20 20 |agCtl = |$0007; |
|000007a0| 7b 20 44 72 61 67 20 63 | 6f 6d 6d 61 6e 64 2e 20 |{ Drag c|ommand. |
|000007b0| 7d 0d 61 75 74 6f 54 72 | 61 63 6b 20 3d 20 24 30 |}.autoTr|ack = $0|
|000007c0| 30 30 38 3b 20 20 7b 20 | 41 63 74 69 6f 6e 20 63 |008; { |Action c|
|000007d0| 6f 6d 6d 61 6e 64 2e 20 | 7d 0d 6e 65 77 56 61 6c |ommand. |}.newVal|
|000007e0| 75 65 20 3d 20 24 30 30 | 30 39 3b 20 20 7b 20 53 |ue = $00|09; { S|
|000007f0| 65 74 20 6e 65 77 20 76 | 61 6c 75 65 20 63 6f 6d |et new v|alue com|
|00000800| 6d 61 6e 64 2e 20 7d 0d | 73 65 74 50 61 72 61 6d |mand. }.|setParam|
|00000810| 73 20 3d 20 24 30 30 30 | 41 3b 20 20 7b 20 53 65 |s = $000|A; { Se|
|00000820| 74 20 6e 65 77 20 70 61 | 72 61 6d 65 74 65 72 73 |t new pa|rameters|
|00000830| 20 63 6f 6d 6d 61 6e 64 | 2e 20 7d 0d 6d 6f 76 65 | command|. }.move|
|00000840| 43 74 6c 20 3d 20 24 30 | 30 30 42 3b 20 20 7b 20 |Ctl = $0|00B; { |
|00000850| 4d 6f 76 65 20 63 6f 6d | 6d 61 6e 64 2e 20 7d 0d |Move com|mand. }.|
|00000860| 72 65 63 53 69 7a 65 20 | 3d 20 24 30 30 30 43 3b |recSize |= $000C;|
|00000870| 20 20 7b 20 52 65 74 75 | 72 6e 20 72 65 63 6f 72 | { Retu|rn recor|
|00000880| 64 20 73 69 7a 65 20 63 | 6f 6d 6d 61 6e 64 2e 20 |d size c|ommand. |
|00000890| 7d 0d 63 74 6c 48 61 6e | 64 6c 65 45 76 65 6e 74 |}.ctlHan|dleEvent|
|000008a0| 20 3d 20 24 30 30 30 44 | 3b 20 20 7b 20 48 61 6e | = $000D|; { Han|
|000008b0| 64 6c 65 20 61 20 6b 65 | 79 73 74 72 6f 6b 65 20 |dle a ke|ystroke |
|000008c0| 6f 72 20 6d 65 6e 75 20 | 73 65 6c 65 63 74 69 6f |or menu |selectio|
|000008d0| 6e 20 7d 0d 63 74 6c 43 | 68 61 6e 67 65 54 61 72 |n }.ctlC|hangeTar|
|000008e0| 67 65 74 20 3d 20 24 30 | 30 30 45 3b 20 20 7b 20 |get = $0|00E; { |
|000008f0| 49 73 73 75 65 64 20 77 | 68 65 6e 20 63 6f 6e 74 |Issued w|hen cont|
|00000900| 72 6f 6c 27 73 20 74 61 | 72 67 65 74 20 73 74 61 |rol's ta|rget sta|
|00000910| 74 75 73 20 68 61 73 20 | 63 68 61 6e 67 65 64 20 |tus has |changed |
|00000920| 7d 0d 63 74 6c 43 68 61 | 6e 67 65 42 6f 75 6e 64 |}.ctlCha|ngeBound|
|00000930| 73 20 3d 20 24 30 30 30 | 46 3b 20 20 7b 20 49 73 |s = $000|F; { Is|
|00000940| 73 75 65 64 20 77 68 65 | 6e 20 63 6f 6e 74 72 6f |sued whe|n contro|
|00000950| 6c 27 73 20 62 6f 75 6e | 64 61 72 79 20 72 65 63 |l's boun|dary rec|
|00000960| 74 61 6e 67 6c 65 20 68 | 61 73 20 63 68 61 6e 67 |tangle h|as chang|
|00000970| 65 64 20 7d 0d 63 74 6c | 57 69 6e 64 43 68 61 6e |ed }.ctl|WindChan|
|00000980| 67 65 53 69 7a 65 20 3d | 20 24 30 30 31 30 3b 20 |geSize =| $0010; |
|00000990| 20 7b 20 57 69 6e 64 6f | 77 20 68 61 73 20 62 65 | { Windo|w has be|
|000009a0| 65 6e 20 67 72 6f 77 6e | 20 6f 72 20 7a 6f 6f 6d |en grown| or zoom|
|000009b0| 65 64 20 7d 0d 63 74 6c | 48 61 6e 64 6c 65 54 61 |ed }.ctl|HandleTa|
|000009c0| 62 20 3d 20 24 30 30 31 | 31 3b 20 20 7b 20 43 6f |b = $001|1; { Co|
|000009d0| 6e 74 72 6f 6c 20 68 61 | 73 20 62 65 65 6e 20 74 |ntrol ha|s been t|
|000009e0| 61 62 62 65 64 20 74 6f | 20 7d 0d 63 74 6c 4e 6f |abbed to| }.ctlNo|
|000009f0| 74 69 66 79 4d 75 6c 74 | 69 50 61 72 74 20 3d 20 |tifyMult|iPart = |
|00000a00| 24 30 30 31 32 3b 20 20 | 7b 20 41 20 6d 75 6c 74 |$0012; |{ A mult|
|00000a10| 69 70 61 72 74 20 63 6f | 6e 74 72 6f 6c 20 68 61 |ipart co|ntrol ha|
|00000a20| 73 20 62 65 65 6e 20 68 | 69 64 64 65 6e 2c 20 64 |s been h|idden, d|
|00000a30| 72 61 77 6e 20 6f 72 20 | 73 68 6f 77 6e 20 7d 0d |rawn or |shown }.|
|00000a40| 63 74 6c 57 69 6e 53 74 | 61 74 65 43 68 61 6e 67 |ctlWinSt|ateChang|
|00000a50| 65 20 3d 20 24 30 30 31 | 33 3b 20 20 7b 20 57 69 |e = $001|3; { Wi|
|00000a60| 6e 64 6f 77 20 73 74 61 | 74 65 20 68 61 73 20 63 |ndow sta|te has c|
|00000a70| 68 61 6e 67 65 64 20 7d | 0d 0d 7b 20 68 69 6c 69 |hanged }|..{ hili|
|00000a80| 74 65 53 74 61 74 65 20 | 43 6f 64 65 73 20 7d 0d |teState |Codes }.|
|00000a90| 6e 6f 48 69 6c 69 74 65 | 20 3d 20 24 30 30 30 30 |noHilite| = $0000|
|00000aa0| 3b 20 20 7b 20 50 61 72 | 61 6d 20 74 6f 20 48 69 |; { Par|am to Hi|
|00000ab0| 6c 69 74 65 43 6f 6e 74 | 72 6f 6c 20 7d 0d 69 6e |liteCont|rol }.in|
|00000ac0| 61 63 74 69 76 65 48 69 | 6c 69 74 65 20 3d 20 24 |activeHi|lite = $|
|00000ad0| 30 30 46 46 3b 20 20 7b | 20 50 61 72 61 6d 20 74 |00FF; {| Param t|
|00000ae0| 6f 20 48 69 6c 69 74 65 | 43 6f 6e 74 72 6f 6c 20 |o Hilite|Control |
|00000af0| 7d 0d 0d 7b 20 50 61 72 | 74 43 6f 64 65 20 4e 75 |}..{ Par|tCode Nu|
|00000b00| 6d 62 65 72 73 20 7d 0d | 6e 6f 50 61 72 74 20 3d |mbers }.|noPart =|
|00000b10| 20 24 30 30 30 30 3b 0d | 73 69 6d 70 6c 65 42 75 | $0000;.|simpleBu|
|00000b20| 74 74 6f 6e 20 3d 20 24 | 30 30 30 32 3b 0d 63 68 |tton = $|0002;.ch|
|00000b30| 65 63 6b 42 6f 78 20 3d | 20 24 30 30 30 33 3b 0d |eckBox =| $0003;.|
|00000b40| 72 61 64 69 6f 42 75 74 | 74 6f 6e 20 3d 20 24 30 |radioBut|ton = $0|
|00000b50| 30 30 34 3b 0d 75 70 41 | 72 72 6f 77 20 3d 20 24 |004;.upA|rrow = $|
|00000b60| 30 30 30 35 3b 0d 64 6f | 77 6e 41 72 72 6f 77 20 |0005;.do|wnArrow |
|00000b70| 3d 20 24 30 30 30 36 3b | 0d 70 61 67 65 55 70 20 |= $0006;|.pageUp |
|00000b80| 3d 20 24 30 30 30 37 3b | 0d 70 61 67 65 44 6f 77 |= $0007;|.pageDow|
|00000b90| 6e 20 3d 20 24 30 30 30 | 38 3b 0d 67 72 6f 77 42 |n = $000|8;.growB|
|00000ba0| 6f 78 20 3d 20 24 30 30 | 30 41 3b 0d 74 68 75 6d |ox = $00|0A;.thum|
|00000bb0| 62 20 3d 20 24 30 30 38 | 31 3b 0d 0d 7b 20 6d 6f |b = $008|1;..{ mo|
|00000bc0| 72 65 46 6c 61 67 73 20 | 43 6f 64 65 73 20 7d 0d |reFlags |Codes }.|
|00000bd0| 66 43 74 6c 54 61 72 67 | 65 74 20 3d 20 24 38 30 |fCtlTarg|et = $80|
|00000be0| 30 30 3b 20 20 7b 20 69 | 73 20 63 75 72 72 65 6e |00; { i|s curren|
|00000bf0| 74 20 74 61 72 67 65 74 | 20 6f 66 20 74 79 70 69 |t target| of typi|
|00000c00| 6e 67 20 63 6f 6d 6d 61 | 6e 64 73 20 7d 0d 66 43 |ng comma|nds }.fC|
|00000c10| 74 6c 43 61 6e 42 65 54 | 61 72 67 65 74 20 3d 20 |tlCanBeT|arget = |
|00000c20| 24 34 30 30 30 3b 20 20 | 7b 20 63 61 6e 20 62 65 |$4000; |{ can be|
|00000c30| 20 6d 61 64 65 20 74 68 | 65 20 74 61 72 67 65 74 | made th|e target|
|00000c40| 20 63 6f 6e 74 72 6f 6c | 20 7d 0d 66 43 74 6c 57 | control| }.fCtlW|
|00000c50| 61 6e 74 45 76 65 6e 74 | 20 3d 20 24 32 30 30 30 |antEvent| = $2000|
|00000c60| 3b 20 20 7b 20 63 6f 6e | 74 72 6f 6c 20 63 61 6e |; { con|trol can|
|00000c70| 20 62 65 20 63 61 6c 6c | 65 64 20 76 69 65 77 20 | be call|ed view |
|00000c80| 53 65 6e 64 45 76 65 6e | 74 54 6f 43 74 6c 20 7d |SendEven|tToCtl }|
|00000c90| 0d 66 43 74 6c 57 61 6e | 74 73 45 76 65 6e 74 20 |.fCtlWan|tsEvent |
|00000ca0| 3d 20 24 32 30 30 30 3b | 20 20 7b 20 63 6f 6e 74 |= $2000;| { cont|
|00000cb0| 72 6f 6c 20 63 61 6e 20 | 62 65 20 63 61 6c 6c 65 |rol can |be calle|
|00000cc0| 64 20 76 69 65 77 20 53 | 65 6e 64 45 76 65 6e 74 |d view S|endEvent|
|00000cd0| 54 6f 43 74 6c 20 7d 0d | 66 43 74 6c 57 61 6e 74 |ToCtl }.|fCtlWant|
|00000ce0| 45 76 65 6e 74 73 20 3d | 20 24 32 30 30 30 3b 20 |Events =| $2000; |
|00000cf0| 20 7b 20 63 6f 6e 74 72 | 6f 6c 20 63 61 6e 20 62 | { contr|ol can b|
|00000d00| 65 20 63 61 6c 6c 65 64 | 20 76 69 65 77 20 53 65 |e called| view Se|
|00000d10| 6e 64 45 76 65 6e 74 54 | 6f 43 74 6c 20 7d 0d 66 |ndEventT|oCtl }.f|
|00000d20| 43 74 6c 57 61 6e 74 73 | 45 76 65 6e 74 73 20 3d |CtlWants|Events =|
|00000d30| 20 24 32 30 30 30 3b 20 | 20 7b 20 63 6f 6e 74 72 | $2000; | { contr|
|00000d40| 6f 6c 20 63 61 6e 20 62 | 65 20 63 61 6c 6c 65 64 |ol can b|e called|
|00000d50| 20 76 69 65 77 20 53 65 | 6e 64 45 76 65 6e 74 54 | view Se|ndEventT|
|00000d60| 6f 43 74 6c 20 7d 0d 66 | 43 74 6c 50 72 6f 63 52 |oCtl }.f|CtlProcR|
|00000d70| 65 66 4e 6f 74 50 74 72 | 20 3d 20 24 31 30 30 30 |efNotPtr| = $1000|
|00000d80| 3b 20 20 7b 20 73 65 74 | 20 3d 20 49 44 20 6f 66 |; { set| = ID of|
|00000d90| 20 64 65 66 70 72 6f 63 | 2c 20 63 6c 65 61 72 20 | defproc|, clear |
|00000da0| 3d 20 70 6f 69 6e 74 65 | 72 20 74 6f 20 64 65 66 |= pointe|r to def|
|00000db0| 70 72 6f 63 20 7d 0d 66 | 43 74 6c 54 65 6c 6c 41 |proc }.f|CtlTellA|
|00000dc0| 62 6f 75 74 53 69 7a 65 | 20 3d 20 24 30 38 30 30 |boutSize| = $0800|
|00000dd0| 3b 20 20 7b 20 73 65 74 | 20 69 66 20 63 74 6c 20 |; { set| if ctl |
|00000de0| 6e 65 65 64 73 20 6e 6f | 74 69 66 69 63 61 74 69 |needs no|tificati|
|00000df0| 6f 6e 20 77 68 65 6e 20 | 73 69 7a 65 20 6f 66 20 |on when |size of |
|00000e00| 6f 77 6e 69 6e 67 20 77 | 69 6e 64 6f 77 20 63 68 |owning w|indow ch|
|00000e10| 61 6e 67 65 73 20 7d 0d | 66 43 74 6c 49 73 4d 75 |anges }.|fCtlIsMu|
|00000e20| 6c 74 69 50 61 72 74 20 | 3d 20 24 30 34 30 30 3b |ltiPart |= $0400;|
|00000e30| 20 20 7b 20 73 65 74 20 | 69 66 20 63 74 6c 20 6e | { set |if ctl n|
|00000e40| 65 65 64 73 20 6e 6f 74 | 69 66 69 63 61 74 69 6f |eeds not|ificatio|
|00000e50| 6e 20 74 6f 20 62 65 20 | 68 69 64 64 65 6e 20 7d |n to be |hidden }|
|00000e60| 0d 66 4d 65 6e 75 44 65 | 66 49 73 54 65 78 74 20 |.fMenuDe|fIsText |
|00000e70| 3d 20 24 30 30 30 34 3b | 0d 66 44 72 61 77 49 63 |= $0004;|.fDrawIc|
|00000e80| 6f 6e 49 6e 52 65 73 75 | 6c 74 20 3d 20 24 30 30 |onInResu|lt = $00|
|00000e90| 32 30 3b 0d 66 44 72 61 | 77 50 6f 70 44 6f 77 6e |20;.fDra|wPopDown|
|00000ea0| 49 63 6f 6e 20 3d 20 24 | 30 30 38 30 3b 0d 63 6f |Icon = $|0080;.co|
|00000eb0| 6c 6f 72 44 65 73 63 72 | 69 70 74 6f 72 20 3d 20 |lorDescr|iptor = |
|00000ec0| 24 30 30 30 43 3b 20 20 | 7b 20 69 6e 64 69 63 61 |$000C; |{ indica|
|00000ed0| 74 65 73 20 74 79 70 65 | 20 6f 66 20 72 65 66 65 |tes type| of refe|
|00000ee0| 72 65 6e 63 65 20 69 6e | 20 63 6f 6c 6f 72 52 65 |rence in| colorRe|
|00000ef0| 66 20 7d 0d 73 74 79 6c | 65 44 65 73 63 72 69 70 |f }.styl|eDescrip|
|00000f00| 74 6f 72 20 3d 20 24 30 | 30 30 33 3b 20 20 7b 20 |tor = $0|003; { |
|00000f10| 69 6e 64 69 63 61 74 65 | 73 20 74 79 70 65 20 6f |indicate|s type o|
|00000f20| 66 20 72 65 66 65 72 65 | 6e 63 65 20 69 6e 20 73 |f refere|nce in s|
|00000f30| 74 79 6c 65 52 65 66 20 | 7d 0d 0d 7b 20 43 74 6c |tyleRef |}..{ Ctl|
|00000f40| 20 56 65 72 62 73 20 7d | 0d 74 69 74 6c 65 49 73 | Verbs }|.titleIs|
|00000f50| 50 74 72 20 3d 20 24 30 | 30 3b 0d 74 69 74 6c 65 |Ptr = $0|0;.title|
|00000f60| 49 73 48 61 6e 64 6c 65 | 20 3d 20 24 30 31 3b 0d |IsHandle| = $01;.|
|00000f70| 74 69 74 6c 65 49 73 52 | 65 73 6f 75 72 63 65 20 |titleIsR|esource |
|00000f80| 3d 20 24 30 32 3b 0d 63 | 6f 6c 6f 72 54 61 62 6c |= $02;.c|olorTabl|
|00000f90| 65 49 73 50 74 72 20 3d | 20 24 30 30 3b 0d 63 6f |eIsPtr =| $00;.co|
|00000fa0| 6c 6f 72 54 61 62 6c 65 | 49 73 48 61 6e 64 6c 65 |lorTable|IsHandle|
|00000fb0| 20 3d 20 24 30 34 3b 0d | 63 6f 6c 6f 72 54 61 62 | = $04;.|colorTab|
|00000fc0| 6c 65 49 73 52 65 73 6f | 75 72 63 65 20 3d 20 24 |leIsReso|urce = $|
|00000fd0| 30 38 3b 0d 63 74 6c 48 | 69 64 65 43 74 6c 20 3d |08;.ctlH|ideCtl =|
|00000fe0| 20 24 31 32 3b 0d 0d 7b | 20 49 6e 70 75 74 56 65 | $12;..{| InputVe|
|00000ff0| 72 62 20 43 6f 64 65 73 | 20 7d 0d 73 69 6e 67 6c |rb Codes| }.singl|
|00001000| 65 50 74 72 20 3d 20 24 | 30 30 30 30 3b 0d 73 69 |ePtr = $|0000;.si|
|00001010| 6e 67 6c 65 48 61 6e 64 | 6c 65 20 3d 20 24 30 30 |ngleHand|le = $00|
|00001020| 30 31 3b 0d 73 69 6e 67 | 6c 65 52 65 73 6f 75 72 |01;.sing|leResour|
|00001030| 63 65 20 3d 20 24 30 30 | 30 32 3b 0d 70 74 72 54 |ce = $00|02;.ptrT|
|00001040| 6f 50 74 72 20 3d 20 24 | 30 30 30 33 3b 0d 70 74 |oPtr = $|0003;.pt|
|00001050| 72 54 6f 48 61 6e 64 6c | 65 20 3d 20 24 30 30 30 |rToHandl|e = $000|
|00001060| 34 3b 0d 70 74 72 54 6f | 52 65 73 6f 75 72 63 65 |4;.ptrTo|Resource|
|00001070| 20 3d 20 24 30 30 30 35 | 3b 0d 68 61 6e 64 6c 65 | = $0005|;.handle|
|00001080| 54 6f 50 74 72 20 3d 20 | 24 30 30 30 36 3b 0d 68 |ToPtr = |$0006;.h|
|00001090| 61 6e 64 6c 65 54 6f 48 | 61 6e 64 6c 65 20 3d 20 |andleToH|andle = |
|000010a0| 24 30 30 30 37 3b 0d 68 | 61 6e 64 6c 65 54 6f 52 |$0007;.h|andleToR|
|000010b0| 65 73 6f 75 72 63 65 20 | 3d 20 24 30 30 30 38 3b |esource |= $0008;|
|000010c0| 0d 72 65 73 6f 75 72 63 | 65 54 6f 52 65 73 6f 75 |.resourc|eToResou|
|000010d0| 72 63 65 20 3d 20 24 30 | 30 30 39 3b 0d 0d 7b 20 |rce = $0|009;..{ |
|000010e0| 50 72 6f 63 52 65 66 73 | 20 7d 0d 73 69 6d 70 6c |ProcRefs| }.simpl|
|000010f0| 65 42 75 74 74 6f 6e 43 | 6f 6e 74 72 6f 6c 20 3d |eButtonC|ontrol =|
|00001100| 20 24 38 30 30 30 30 30 | 30 30 3b 0d 63 68 65 63 | $800000|00;.chec|
|00001110| 6b 43 6f 6e 74 72 6f 6c | 20 3d 20 24 38 32 30 30 |kControl| = $8200|
|00001120| 30 30 30 30 3b 0d 72 61 | 64 69 6f 43 6f 6e 74 72 |0000;.ra|dioContr|
|00001130| 6f 6c 20 3d 20 24 38 34 | 30 30 30 30 30 30 3b 0d |ol = $84|000000;.|
|00001140| 73 63 72 6f 6c 6c 42 61 | 72 43 6f 6e 74 72 6f 6c |scrollBa|rControl|
|00001150| 20 3d 20 24 38 36 30 30 | 30 30 30 30 3b 0d 67 72 | = $8600|0000;.gr|
|00001160| 6f 77 43 6f 6e 74 72 6f | 6c 20 3d 20 24 38 38 30 |owContro|l = $880|
|00001170| 30 30 30 30 30 3b 0d 73 | 74 61 74 54 65 78 74 43 |00000;.s|tatTextC|
|00001180| 6f 6e 74 72 6f 6c 20 3d | 20 24 38 31 30 30 30 30 |ontrol =| $810000|
|00001190| 30 30 3b 0d 65 64 69 74 | 4c 69 6e 65 43 6f 6e 74 |00;.edit|LineCont|
|000011a0| 72 6f 6c 20 3d 20 24 38 | 33 30 30 30 30 30 30 3b |rol = $8|3000000;|
|000011b0| 0d 65 64 69 74 54 65 78 | 74 43 6f 6e 74 72 6f 6c |.editTex|tControl|
|000011c0| 20 3d 20 24 38 35 30 30 | 30 30 30 30 3b 0d 70 6f | = $8500|0000;.po|
|000011d0| 70 55 70 43 6f 6e 74 72 | 6f 6c 20 3d 20 24 38 37 |pUpContr|ol = $87|
|000011e0| 30 30 30 30 30 30 3b 0d | 6c 69 73 74 43 6f 6e 74 |000000;.|listCont|
|000011f0| 72 6f 6c 20 3d 20 24 38 | 39 30 30 30 30 30 30 3b |rol = $8|9000000;|
|00001200| 0d 70 69 63 74 75 72 65 | 43 6f 6e 74 72 6f 6c 20 |.picture|Control |
|00001210| 3d 20 24 38 44 30 30 30 | 30 30 30 3b 0d 69 63 6f |= $8D000|000;.ico|
|00001220| 6e 42 75 74 74 6f 6e 43 | 6f 6e 74 72 6f 6c 20 3d |nButtonC|ontrol =|
|00001230| 20 24 38 37 46 46 30 30 | 30 31 3b 0d 74 68 65 72 | $87FF00|01;.ther|
|00001240| 6d 6f 6d 65 74 65 72 43 | 6f 6e 74 72 6f 6c 20 3d |mometerC|ontrol =|
|00001250| 20 24 38 37 46 46 30 30 | 30 32 3b 0d 72 65 63 74 | $87FF00|02;.rect|
|00001260| 61 6e 67 6c 65 43 6f 6e | 74 72 6f 6c 20 3d 20 24 |angleCon|trol = $|
|00001270| 38 37 46 46 30 30 30 33 | 3b 0d 0d 0d 7b 20 45 72 |87FF0003|;...{ Er|
|00001280| 72 6f 72 20 43 6f 64 65 | 73 20 7d 0d 77 6d 4e 6f |ror Code|s }.wmNo|
|00001290| 74 53 74 61 72 74 65 64 | 55 70 20 3d 20 24 31 30 |tStarted|Up = $10|
|000012a0| 30 31 3b 20 20 7b 20 57 | 69 6e 64 6f 77 20 6d 61 |01; { W|indow ma|
|000012b0| 6e 61 67 65 72 20 77 61 | 73 20 6e 6f 74 20 69 6e |nager wa|s not in|
|000012c0| 69 74 69 61 6c 69 7a 65 | 64 20 7d 0d 63 6d 4e 6f |itialize|d }.cmNo|
|000012d0| 74 49 6e 69 74 69 61 6c | 69 7a 65 64 20 3d 20 24 |tInitial|ized = $|
|000012e0| 31 30 30 32 3b 20 20 7b | 20 43 6f 6e 74 72 6f 6c |1002; {| Control|
|000012f0| 20 6d 61 6e 61 67 65 72 | 20 77 61 73 20 6e 6f 74 | manager| was not|
|00001300| 20 69 6e 69 74 69 61 6c | 69 7a 65 64 20 7d 0d 6e | initial|ized }.n|
|00001310| 6f 43 74 6c 49 6e 4c 69 | 73 74 20 3d 20 24 31 30 |oCtlInLi|st = $10|
|00001320| 30 33 3b 20 20 7b 20 43 | 6f 6e 74 72 6f 6c 20 6e |03; { C|ontrol n|
|00001330| 6f 74 20 69 6e 20 77 69 | 6e 64 6f 77 20 6c 69 73 |ot in wi|ndow lis|
|00001340| 74 20 7d 0d 6e 6f 43 74 | 6c 45 72 72 6f 72 20 3d |t }.noCt|lError =|
|00001350| 20 24 31 30 30 34 3b 20 | 20 7b 20 6e 6f 20 63 6f | $1004; | { no co|
|00001360| 6e 74 72 6f 6c 73 20 69 | 6e 20 77 69 6e 64 6f 77 |ntrols i|n window|
|00001370| 20 7d 0d 6e 6f 53 75 70 | 65 72 43 74 6c 45 72 72 | }.noSup|erCtlErr|
|00001380| 6f 72 20 3d 20 24 31 30 | 30 35 3b 20 20 7b 20 6e |or = $10|05; { n|
|00001390| 6f 20 73 75 70 65 72 20 | 63 6f 6e 74 72 6f 6c 73 |o super |controls|
|000013a0| 20 69 6e 20 77 69 6e 64 | 6f 77 20 7d 0d 6e 6f 43 | in wind|ow }.noC|
|000013b0| 74 6c 54 61 72 67 65 74 | 45 72 72 6f 72 20 3d 20 |tlTarget|Error = |
|000013c0| 24 31 30 30 36 3b 20 20 | 7b 20 6e 6f 20 74 61 72 |$1006; |{ no tar|
|000013d0| 67 65 74 20 73 75 70 65 | 72 20 63 6f 6e 74 72 6f |get supe|r contro|
|000013e0| 6c 20 7d 0d 6e 6f 74 53 | 75 70 65 72 43 74 6c 45 |l }.notS|uperCtlE|
|000013f0| 72 72 6f 72 20 3d 20 24 | 31 30 30 37 3b 20 20 7b |rror = $|1007; {|
|00001400| 20 61 63 74 69 6f 6e 20 | 63 61 6e 20 6f 6e 6c 79 | action |can only|
|00001410| 20 62 65 20 64 6f 6e 65 | 20 6f 6e 20 73 75 70 65 | be done| on supe|
|00001420| 72 20 63 6f 6e 74 72 6f | 6c 20 7d 0d 63 61 6e 4e |r contro|l }.canN|
|00001430| 6f 74 42 65 54 61 72 67 | 65 74 45 72 72 6f 72 20 |otBeTarg|etError |
|00001440| 3d 20 24 31 30 30 38 3b | 20 20 7b 20 63 6f 6e 72 |= $1008;| { conr|
|00001450| 6f 6c 20 63 61 6e 6e 6f | 74 20 62 65 20 6d 61 64 |ol canno|t be mad|
|00001460| 65 20 74 61 72 67 65 74 | 20 7d 0d 6e 6f 53 75 63 |e target| }.noSuc|
|00001470| 68 49 44 45 72 72 6f 72 | 20 3d 20 24 31 30 30 39 |hIDError| = $1009|
|00001480| 3b 20 20 7b 20 73 70 65 | 63 69 66 69 65 64 20 49 |; { spe|cified I|
|00001490| 44 20 63 61 6e 6e 6f 74 | 20 62 65 20 66 6f 75 6e |D cannot| be foun|
|000014a0| 64 20 7d 0d 74 6f 6f 46 | 65 77 50 61 72 6d 73 45 |d }.tooF|ewParmsE|
|000014b0| 72 72 6f 72 20 3d 20 24 | 31 30 30 41 3b 20 20 7b |rror = $|100A; {|
|000014c0| 20 6e 6f 74 20 65 6e 6f | 75 67 68 20 70 61 72 61 | not eno|ugh para|
|000014d0| 6d 73 20 73 70 65 63 69 | 66 69 65 64 20 7d 0d 6e |ms speci|fied }.n|
|000014e0| 6f 43 74 6c 54 6f 42 65 | 54 61 72 67 65 74 45 72 |oCtlToBe|TargetEr|
|000014f0| 72 6f 72 20 3d 20 24 31 | 30 30 42 3b 20 20 7b 20 |ror = $1|00B; { |
|00001500| 4e 65 78 74 43 74 6c 20 | 63 61 6c 6c 2c 20 6e 6f |NextCtl |call, no|
|00001510| 20 63 74 6c 20 63 6f 75 | 6c 64 20 62 65 20 74 61 | ctl cou|ld be ta|
|00001520| 72 67 65 74 20 7d 0d 6e | 6f 46 72 6f 6e 74 57 69 |rget }.n|oFrontWi|
|00001530| 6e 64 6f 77 45 72 72 6f | 72 20 3d 20 24 31 30 30 |ndowErro|r = $100|
|00001540| 43 3b 20 20 7b 20 74 68 | 65 72 65 20 69 73 20 6e |C; { th|ere is n|
|00001550| 6f 20 66 72 6f 6e 74 20 | 77 69 6e 64 6f 77 20 7d |o front |window }|
|00001560| 0d 0d 7b 20 64 69 73 70 | 6c 61 79 4d 6f 64 65 20 |..{ disp|layMode |
|00001570| 66 6c 61 67 73 20 7d 0d | 73 65 6c 65 63 74 65 64 |flags }.|selected|
|00001580| 49 63 6f 6e 20 3d 20 24 | 30 30 30 31 3b 0d 6f 70 |Icon = $|0001;.op|
|00001590| 65 6e 49 63 6f 6e 20 3d | 20 24 30 30 30 32 3b 0d |enIcon =| $0002;.|
|000015a0| 6f 66 66 6c 69 6e 65 20 | 3d 20 24 30 30 30 34 3b |offline |= $0004;|
|000015b0| 0d 0d 7b 20 6c 69 73 74 | 54 79 70 65 20 76 61 6c |..{ list|Type val|
|000015c0| 75 65 73 20 7d 0d 66 4c | 69 73 74 53 74 72 69 6e |ues }.fL|istStrin|
|000015d0| 67 20 3d 20 24 30 30 30 | 31 3b 0d 66 4c 69 73 74 |g = $000|1;.fList|
|000015e0| 53 65 6c 65 63 74 20 3d | 20 24 30 30 30 32 3b 0d |Select =| $0002;.|
|000015f0| 66 4c 69 73 74 53 63 72 | 6f 6c 6c 42 61 72 20 3d |fListScr|ollBar =|
|00001600| 20 24 30 30 30 34 3b 0d | 0d 7b 20 50 6f 70 55 70 | $0004;.|.{ PopUp|
|00001610| 20 63 6f 6e 74 72 6f 6c | 20 66 6c 61 67 20 76 61 | control| flag va|
|00001620| 6c 75 65 73 20 7d 0d 66 | 52 69 67 68 74 4a 75 73 |lues }.f|RightJus|
|00001630| 74 69 66 79 52 65 73 75 | 6c 74 20 3d 20 24 30 30 |tifyResu|lt = $00|
|00001640| 30 31 3b 0d 66 52 69 67 | 68 74 4a 75 73 74 69 66 |01;.fRig|htJustif|
|00001650| 79 54 69 74 6c 65 20 3d | 20 24 30 30 30 32 3b 0d |yTitle =| $0002;.|
|00001660| 66 49 6e 57 69 6e 64 6f | 77 4f 6e 6c 79 20 3d 20 |fInWindo|wOnly = |
|00001670| 24 30 30 30 34 3b 0d 66 | 44 6f 6e 74 44 72 61 77 |$0004;.f|DontDraw|
|00001680| 52 65 73 75 6c 74 20 3d | 20 24 30 30 30 38 3b 0d |Result =| $0008;.|
|00001690| 66 44 6f 6e 74 44 72 61 | 77 54 69 74 6c 65 20 3d |fDontDra|wTitle =|
|000016a0| 20 24 30 30 31 30 3b 0d | 66 44 6f 6e 74 48 69 6c | $0010;.|fDontHil|
|000016b0| 69 74 65 54 69 74 6c 65 | 20 3d 20 24 30 30 32 30 |iteTitle| = $0020|
|000016c0| 3b 0d 66 54 79 70 65 32 | 50 6f 70 55 70 20 3d 20 |;.fType2|PopUp = |
|000016d0| 24 30 30 34 30 3b 0d 0d | 54 59 50 45 0d 7b 24 49 |$0040;..|TYPE.{$I|
|000016e0| 46 43 20 55 4e 44 45 46 | 49 4e 45 44 20 57 69 6e |FC UNDEF|INED Win|
|000016f0| 64 6f 77 50 74 72 20 7d | 0d 57 69 6e 64 6f 77 50 |dowPtr }|.WindowP|
|00001700| 74 72 20 3d 20 47 72 61 | 66 50 6f 72 74 50 74 72 |tr = Gra|fPortPtr|
|00001710| 20 3b 0d 7b 24 53 45 54 | 43 20 57 69 6e 64 6f 77 | ;.{$SET|C Window|
|00001720| 50 74 72 20 3a 3d 20 30 | 20 7d 0d 7b 24 45 4e 44 |Ptr := 0| }.{$END|
|00001730| 43 7d 0d 0d 0d 42 61 72 | 43 6f 6c 6f 72 73 48 6e |C}...Bar|ColorsHn|
|00001740| 64 6c 20 3d 20 5e 42 61 | 72 43 6f 6c 6f 72 73 50 |dl = ^Ba|rColorsP|
|00001750| 74 72 3b 0d 42 61 72 43 | 6f 6c 6f 72 73 50 74 72 |tr;.BarC|olorsPtr|
|00001760| 20 3d 20 5e 42 61 72 43 | 6f 6c 6f 72 73 3b 0d 42 | = ^BarC|olors;.B|
|00001770| 61 72 43 6f 6c 6f 72 73 | 20 3d 20 52 45 43 4f 52 |arColors| = RECOR|
|00001780| 44 0d 20 20 20 20 62 61 | 72 4f 75 74 6c 69 6e 65 |D. ba|rOutline|
|00001790| 20 3a 20 49 6e 74 65 67 | 65 72 3b 20 7b 20 63 6f | : Integ|er; { co|
|000017a0| 6c 6f 72 20 66 6f 72 20 | 6f 75 74 6c 69 6e 69 6e |lor for |outlinin|
|000017b0| 67 20 62 61 72 2c 20 61 | 72 72 6f 77 73 2c 20 61 |g bar, a|rrows, a|
|000017c0| 6e 64 20 74 68 75 6d 62 | 20 7d 0d 20 20 20 20 62 |nd thumb| }. b|
|000017d0| 61 72 4e 6f 72 41 72 72 | 6f 77 20 3a 20 49 6e 74 |arNorArr|ow : Int|
|000017e0| 65 67 65 72 3b 20 7b 20 | 63 6f 6c 6f 72 20 6f 66 |eger; { |color of|
|000017f0| 20 61 72 72 6f 77 73 20 | 77 68 65 6e 20 6e 6f 74 | arrows |when not|
|00001800| 20 68 69 67 68 6c 69 67 | 68 74 65 64 20 7d 0d 20 | highlig|hted }. |
|00001810| 20 20 20 62 61 72 53 65 | 6c 41 72 72 6f 77 20 3a | barSe|lArrow :|
|00001820| 20 49 6e 74 65 67 65 72 | 3b 20 7b 20 63 6f 6c 6f | Integer|; { colo|
|00001830| 72 20 6f 66 20 61 72 72 | 6f 77 73 20 77 68 65 6e |r of arr|ows when|
|00001840| 20 68 69 67 68 6c 69 67 | 68 74 65 64 20 7d 0d 20 | highlig|hted }. |
|00001850| 20 20 20 62 61 72 41 72 | 72 6f 77 42 61 63 6b 20 | barAr|rowBack |
|00001860| 3a 20 49 6e 74 65 67 65 | 72 3b 20 7b 20 63 6f 6c |: Intege|r; { col|
|00001870| 6f 72 20 6f 66 20 61 72 | 72 6f 77 20 62 6f 78 27 |or of ar|row box'|
|00001880| 73 20 62 61 63 6b 67 72 | 6f 75 6e 64 20 7d 0d 20 |s backgr|ound }. |
|00001890| 20 20 20 62 61 72 4e 6f | 72 54 68 75 6d 62 20 3a | barNo|rThumb :|
|000018a0| 20 49 6e 74 65 67 65 72 | 3b 20 7b 20 63 6f 6c 6f | Integer|; { colo|
|000018b0| 72 20 6f 66 20 74 68 75 | 6d 62 27 73 20 62 61 63 |r of thu|mb's bac|
|000018c0| 6b 67 72 6f 75 6e 64 20 | 77 68 65 6e 20 6e 6f 74 |kground |when not|
|000018d0| 20 68 69 67 68 6c 69 67 | 68 74 65 64 20 7d 0d 20 | highlig|hted }. |
|000018e0| 20 20 20 62 61 72 53 65 | 6c 54 68 75 6d 62 20 3a | barSe|lThumb :|
|000018f0| 20 49 6e 74 65 67 65 72 | 3b 20 7b 20 63 6f 6c 6f | Integer|; { colo|
|00001900| 72 20 6f 66 20 74 68 75 | 6d 62 27 73 20 62 61 63 |r of thu|mb's bac|
|00001910| 6b 67 72 6f 75 6e 64 20 | 77 68 65 6e 20 68 69 67 |kground |when hig|
|00001920| 68 6c 69 67 68 74 65 64 | 20 7d 0d 20 20 20 20 62 |hlighted| }. b|
|00001930| 61 72 50 61 67 65 52 67 | 6e 20 3a 20 49 6e 74 65 |arPageRg|n : Inte|
|00001940| 67 65 72 3b 20 7b 20 63 | 6f 6c 6f 72 20 61 6e 64 |ger; { c|olor and|
|00001950| 20 70 61 74 74 65 72 6e | 20 70 61 67 65 20 72 65 | pattern| page re|
|00001960| 67 69 6f 6e 3a 20 68 69 | 67 68 20 62 79 74 65 20 |gion: hi|gh byte |
|00001970| 2d 20 31 3d 20 64 69 74 | 68 65 72 2c 20 30 20 3d |- 1= dit|her, 0 =|
|00001980| 20 73 6f 6c 69 64 20 7d | 0d 20 20 20 20 62 61 72 | solid }|. bar|
|00001990| 49 6e 61 63 74 69 76 65 | 20 3a 20 49 6e 74 65 67 |Inactive| : Integ|
|000019a0| 65 72 3b 20 7b 20 63 6f | 6c 6f 72 20 6f 66 20 73 |er; { co|lor of s|
|000019b0| 63 72 6f 6c 6c 20 62 61 | 72 27 73 20 69 6e 74 65 |croll ba|r's inte|
|000019c0| 72 69 6f 72 20 77 68 65 | 6e 20 69 6e 61 63 74 69 |rior whe|n inacti|
|000019d0| 76 65 20 7d 0d 45 4e 44 | 3b 0d 0d 42 6f 78 43 6f |ve }.END|;..BoxCo|
|000019e0| 6c 6f 72 73 48 6e 64 6c | 20 3d 20 5e 42 6f 78 43 |lorsHndl| = ^BoxC|
|000019f0| 6f 6c 6f 72 73 50 74 72 | 3b 0d 42 6f 78 43 6f 6c |olorsPtr|;.BoxCol|
|00001a00| 6f 72 73 50 74 72 20 3d | 20 5e 42 6f 78 43 6f 6c |orsPtr =| ^BoxCol|
|00001a10| 6f 72 73 3b 0d 42 6f 78 | 43 6f 6c 6f 72 73 20 3d |ors;.Box|Colors =|
|00001a20| 20 52 45 43 4f 52 44 0d | 20 20 20 20 62 6f 78 52 | RECORD.| boxR|
|00001a30| 65 73 65 72 76 65 64 20 | 3a 20 49 6e 74 65 67 65 |eserved |: Intege|
|00001a40| 72 3b 20 7b 20 72 65 73 | 65 72 76 65 64 20 7d 0d |r; { res|erved }.|
|00001a50| 20 20 20 20 62 6f 78 4e | 6f 72 20 3a 20 49 6e 74 | boxN|or : Int|
|00001a60| 65 67 65 72 3b 20 7b 20 | 63 6f 6c 6f 72 20 6f 66 |eger; { |color of|
|00001a70| 20 62 6f 78 20 77 68 65 | 6e 20 6e 6f 74 20 63 68 | box whe|n not ch|
|00001a80| 65 63 6b 65 64 20 7d 0d | 20 20 20 20 62 6f 78 53 |ecked }.| boxS|
|00001a90| 65 6c 20 3a 20 49 6e 74 | 65 67 65 72 3b 20 7b 20 |el : Int|eger; { |
|00001aa0| 63 6f 6c 6f 72 20 6f 66 | 20 62 6f 78 20 77 68 65 |color of| box whe|
|00001ab0| 6e 20 63 68 65 63 6b 65 | 64 20 7d 0d 20 20 20 20 |n checke|d }. |
|00001ac0| 62 6f 78 54 69 74 6c 65 | 20 3a 20 49 6e 74 65 67 |boxTitle| : Integ|
|00001ad0| 65 72 3b 20 7b 20 63 6f | 6c 6f 72 20 6f 66 20 63 |er; { co|lor of c|
|00001ae0| 68 65 63 6b 20 62 6f 78 | 27 73 20 74 69 74 6c 65 |heck box|'s title|
|00001af0| 20 7d 0d 45 4e 44 3b 0d | 0d 42 74 74 6e 43 6f 6c | }.END;.|.BttnCol|
|00001b00| 6f 72 73 48 6e 64 6c 20 | 3d 20 5e 42 74 74 6e 43 |orsHndl |= ^BttnC|
|00001b10| 6f 6c 6f 72 73 50 74 72 | 3b 0d 42 74 74 6e 43 6f |olorsPtr|;.BttnCo|
|00001b20| 6c 6f 72 73 50 74 72 20 | 3d 20 5e 42 74 74 6e 43 |lorsPtr |= ^BttnC|
|00001b30| 6f 6c 6f 72 73 3b 0d 42 | 74 74 6e 43 6f 6c 6f 72 |olors;.B|ttnColor|
|00001b40| 73 20 3d 20 52 45 43 4f | 52 44 0d 20 20 20 20 62 |s = RECO|RD. b|
|00001b50| 74 74 6e 4f 75 74 6c 69 | 6e 65 20 3a 20 49 6e 74 |ttnOutli|ne : Int|
|00001b60| 65 67 65 72 3b 20 7b 20 | 63 6f 6c 6f 72 20 6f 66 |eger; { |color of|
|00001b70| 20 6f 75 74 6c 69 6e 65 | 20 7d 0d 20 20 20 20 62 | outline| }. b|
|00001b80| 74 74 6e 4e 6f 72 42 61 | 63 6b 20 3a 20 49 6e 74 |ttnNorBa|ck : Int|
|00001b90| 65 67 65 72 3b 20 7b 20 | 63 6f 6c 6f 72 20 6f 66 |eger; { |color of|
|00001ba0| 20 62 61 63 6b 67 72 6f | 75 6e 64 20 77 68 65 6e | backgro|und when|
|00001bb0| 20 6e 6f 74 20 73 65 6c | 65 63 74 65 64 20 7d 0d | not sel|ected }.|
|00001bc0| 20 20 20 20 62 74 74 6e | 53 65 6c 42 61 63 6b 20 | bttn|SelBack |
|00001bd0| 3a 20 49 6e 74 65 67 65 | 72 3b 20 7b 20 63 6f 6c |: Intege|r; { col|
|00001be0| 6f 72 20 6f 66 20 62 61 | 63 6b 67 72 6f 75 6e 64 |or of ba|ckground|
|00001bf0| 20 77 68 65 6e 20 73 65 | 6c 65 63 74 65 64 20 7d | when se|lected }|
|00001c00| 0d 20 20 20 20 62 74 74 | 6e 4e 6f 72 54 65 78 74 |. btt|nNorText|
|00001c10| 20 3a 20 49 6e 74 65 67 | 65 72 3b 20 7b 20 63 6f | : Integ|er; { co|
|00001c20| 6c 6f 72 20 6f 66 20 74 | 69 74 6c 65 27 73 20 74 |lor of t|itle's t|
|00001c30| 65 78 74 20 77 68 65 6e | 20 6e 6f 74 20 73 65 6c |ext when| not sel|
|00001c40| 65 63 74 65 64 20 7d 0d | 20 20 20 20 62 74 74 6e |ected }.| bttn|
|00001c50| 53 65 6c 54 65 78 74 20 | 3a 20 49 6e 74 65 67 65 |SelText |: Intege|
|00001c60| 72 3b 20 7b 20 63 6f 6c | 6f 72 20 6f 66 20 74 69 |r; { col|or of ti|
|00001c70| 74 6c 65 27 73 20 74 65 | 78 74 20 77 68 65 6e 20 |tle's te|xt when |
|00001c80| 73 65 6c 65 63 74 65 64 | 20 7d 0d 45 4e 44 3b 0d |selected| }.END;.|
|00001c90| 0d 43 74 6c 52 65 63 48 | 6e 64 6c 50 74 72 20 3d |.CtlRecH|ndlPtr =|
|00001ca0| 20 5e 43 74 6c 52 65 63 | 48 6e 64 6c 3b 0d 43 74 | ^CtlRec|Hndl;.Ct|
|00001cb0| 6c 52 65 63 48 6e 64 6c | 20 3d 20 5e 43 74 6c 52 |lRecHndl| = ^CtlR|
|00001cc0| 65 63 50 74 72 3b 0d 43 | 74 6c 52 65 63 50 74 72 |ecPtr;.C|tlRecPtr|
|00001cd0| 20 3d 20 5e 43 74 6c 52 | 65 63 3b 0d 43 74 6c 52 | = ^CtlR|ec;.CtlR|
|00001ce0| 65 63 20 3d 20 50 41 43 | 4b 45 44 20 52 45 43 4f |ec = PAC|KED RECO|
|00001cf0| 52 44 0d 20 20 20 20 63 | 74 6c 4e 65 78 74 20 3a |RD. c|tlNext :|
|00001d00| 20 43 74 6c 52 65 63 48 | 6e 64 6c 3b 20 7b 20 48 | CtlRecH|ndl; { H|
|00001d10| 61 6e 64 6c 65 20 6f 66 | 20 6e 65 78 74 20 63 6f |andle of| next co|
|00001d20| 6e 74 72 6f 6c 2e 20 7d | 0d 20 20 20 20 63 74 6c |ntrol. }|. ctl|
|00001d30| 4f 77 6e 65 72 20 3a 20 | 57 69 6e 64 6f 77 50 74 |Owner : |WindowPt|
|00001d40| 72 3b 20 7b 20 50 6f 69 | 6e 74 65 72 20 74 6f 20 |r; { Poi|nter to |
|00001d50| 63 6f 6e 74 72 6f 6c 27 | 73 20 77 69 6e 64 6f 77 |control'|s window|
|00001d60| 2e 20 7d 0d 20 20 20 20 | 63 74 6c 52 65 63 74 20 |. }. |ctlRect |
|00001d70| 3a 20 52 65 63 74 3b 20 | 7b 20 45 6e 63 6c 6f 73 |: Rect; |{ Enclos|
|00001d80| 69 6e 67 20 72 65 63 74 | 61 6e 67 6c 65 2e 20 7d |ing rect|angle. }|
|00001d90| 0d 20 20 20 20 63 74 6c | 46 6c 61 67 20 3a 20 42 |. ctl|Flag : B|
|00001da0| 79 74 65 3b 20 7b 20 42 | 69 74 20 66 6c 61 67 73 |yte; { B|it flags|
|00001db0| 2e 20 7d 0d 20 20 20 20 | 63 74 6c 48 69 6c 69 74 |. }. |ctlHilit|
|00001dc0| 65 20 3a 20 42 79 74 65 | 3b 20 7b 20 48 69 67 68 |e : Byte|; { High|
|00001dd0| 6c 69 67 68 74 65 64 20 | 70 61 72 74 2e 20 7d 0d |lighted |part. }.|
|00001de0| 20 20 20 20 63 74 6c 56 | 61 6c 75 65 20 3a 20 49 | ctlV|alue : I|
|00001df0| 6e 74 65 67 65 72 3b 20 | 7b 20 43 6f 6e 74 72 6f |nteger; |{ Contro|
|00001e00| 6c 27 73 20 76 61 6c 75 | 65 2e 20 7d 0d 20 20 20 |l's valu|e. }. |
|00001e10| 20 63 74 6c 50 72 6f 63 | 20 3a 20 4c 6f 6e 67 50 | ctlProc| : LongP|
|00001e20| 72 6f 63 50 74 72 3b 20 | 7b 20 43 6f 6e 74 72 6f |rocPtr; |{ Contro|
|00001e30| 6c 27 73 20 64 65 66 69 | 6e 69 74 69 6f 6e 20 70 |l's defi|nition p|
|00001e40| 72 6f 63 65 64 75 72 65 | 2e 20 7d 0d 20 20 20 20 |rocedure|. }. |
|00001e50| 63 74 6c 41 63 74 69 6f | 6e 20 3a 20 4c 6f 6e 67 |ctlActio|n : Long|
|00001e60| 50 72 6f 63 50 74 72 3b | 20 7b 20 43 6f 6e 74 72 |ProcPtr;| { Contr|
|00001e70| 6f 6c 27 73 20 61 63 74 | 69 6f 6e 20 70 72 6f 63 |ol's act|ion proc|
|00001e80| 65 64 75 72 65 2e 20 7d | 0d 20 20 20 20 63 74 6c |edure. }|. ctl|
|00001e90| 44 61 74 61 20 3a 20 4c | 6f 6e 67 69 6e 74 3b 20 |Data : L|ongint; |
|00001ea0| 7b 20 52 65 73 65 72 76 | 65 64 20 66 6f 72 20 43 |{ Reserv|ed for C|
|00001eb0| 74 72 6c 50 72 6f 63 27 | 73 20 75 73 65 2e 20 7d |trlProc'|s use. }|
|00001ec0| 0d 20 20 20 20 63 74 6c | 52 65 66 43 6f 6e 20 3a |. ctl|RefCon :|
|00001ed0| 20 4c 6f 6e 67 69 6e 74 | 3b 20 7b 20 52 65 73 65 | Longint|; { Rese|
|00001ee0| 72 76 65 64 20 66 6f 72 | 20 61 70 70 6c 69 63 61 |rved for| applica|
|00001ef0| 74 69 6f 6e 27 73 20 75 | 73 65 2e 20 7d 0d 20 20 |tion's u|se. }. |
|00001f00| 20 20 63 74 6c 43 6f 6c | 6f 72 20 3a 20 50 74 72 | ctlCol|or : Ptr|
|00001f10| 3b 20 7b 20 50 6f 69 6e | 74 65 72 20 74 6f 20 61 |; { Poin|ter to a|
|00001f20| 70 70 72 6f 70 72 69 61 | 74 65 20 63 6f 6c 6f 72 |ppropria|te color|
|00001f30| 20 74 61 62 6c 65 2e 20 | 7d 0d 20 20 20 20 63 74 | table. |}. ct|
|00001f40| 6c 52 65 73 65 72 76 65 | 64 20 3a 20 50 41 43 4b |lReserve|d : PACK|
|00001f50| 45 44 20 41 52 52 41 59 | 5b 31 2e 2e 31 36 5d 20 |ED ARRAY|[1..16] |
|00001f60| 4f 46 20 42 79 74 65 3b | 20 7b 20 52 65 73 65 72 |OF Byte;| { Reser|
|00001f70| 76 65 64 20 66 6f 72 20 | 66 75 74 75 72 65 20 65 |ved for |future e|
|00001f80| 78 70 61 6e 73 69 6f 6e | 20 7d 0d 20 20 20 20 63 |xpansion| }. c|
|00001f90| 74 6c 49 44 20 3a 20 4c | 6f 6e 67 69 6e 74 3b 0d |tlID : L|ongint;.|
|00001fa0| 20 20 20 20 63 74 6c 4d | 6f 72 65 46 6c 61 67 73 | ctlM|oreFlags|
|00001fb0| 20 3a 20 49 6e 74 65 67 | 65 72 3b 0d 20 20 20 20 | : Integ|er;. |
|00001fc0| 63 74 6c 56 65 72 73 69 | 6f 6e 20 3a 20 49 6e 74 |ctlVersi|on : Int|
|00001fd0| 65 67 65 72 3b 0d 45 4e | 44 3b 0d 0d 4c 69 6d 69 |eger;.EN|D;..Limi|
|00001fe0| 74 42 6c 6b 48 6e 64 6c | 20 3d 20 5e 4c 69 6d 69 |tBlkHndl| = ^Limi|
|00001ff0| 74 42 6c 6b 50 74 72 3b | 0d 4c 69 6d 69 74 42 6c |tBlkPtr;|.LimitBl|
|00002000| 6b 50 74 72 20 3d 20 5e | 4c 69 6d 69 74 42 6c 6b |kPtr = ^|LimitBlk|
|00002010| 3b 0d 4c 69 6d 69 74 42 | 6c 6b 20 3d 20 52 45 43 |;.LimitB|lk = REC|
|00002020| 4f 52 44 0d 20 20 20 20 | 62 6f 75 6e 64 52 65 63 |ORD. |boundRec|
|00002030| 74 20 3a 20 52 65 63 74 | 3b 20 7b 20 44 72 61 67 |t : Rect|; { Drag|
|00002040| 20 62 6f 75 6e 64 73 2e | 20 7d 0d 20 20 20 20 73 | bounds.| }. s|
|00002050| 6c 6f 70 52 65 63 74 20 | 3a 20 52 65 63 74 3b 20 |lopRect |: Rect; |
|00002060| 7b 20 43 75 72 73 6f 72 | 20 62 6f 75 6e 64 73 2e |{ Cursor| bounds.|
|00002070| 20 7d 0d 20 20 20 20 61 | 78 69 73 50 61 72 61 6d | }. a|xisParam|
|00002080| 20 3a 20 49 6e 74 65 67 | 65 72 3b 20 7b 20 4d 6f | : Integ|er; { Mo|
|00002090| 76 65 6d 65 6e 74 20 63 | 6f 6e 73 74 72 61 69 6e |vement c|onstrain|
|000020a0| 73 2e 20 7d 0d 20 20 20 | 20 64 72 61 67 50 61 74 |s. }. | dragPat|
|000020b0| 74 20 3a 20 50 74 72 3b | 20 7b 20 50 6f 69 6e 74 |t : Ptr;| { Point|
|000020c0| 65 72 20 74 6f 20 33 32 | 20 62 79 74 65 20 50 61 |er to 32| byte Pa|
|000020d0| 74 74 65 72 6e 20 66 6f | 72 20 64 72 61 67 20 6f |ttern fo|r drag o|
|000020e0| 75 74 6c 69 6e 65 2e 20 | 7d 0d 45 4e 44 3b 0d 0d |utline. |}.END;..|
|000020f0| 52 61 64 69 6f 43 6f 6c | 6f 72 73 48 6e 64 6c 20 |RadioCol|orsHndl |
|00002100| 3d 20 5e 52 61 64 69 6f | 43 6f 6c 6f 72 73 50 74 |= ^Radio|ColorsPt|
|00002110| 72 3b 0d 52 61 64 69 6f | 43 6f 6c 6f 72 73 50 74 |r;.Radio|ColorsPt|
|00002120| 72 20 3d 20 5e 52 61 64 | 69 6f 43 6f 6c 6f 72 73 |r = ^Rad|ioColors|
|00002130| 3b 0d 52 61 64 69 6f 43 | 6f 6c 6f 72 73 20 3d 20 |;.RadioC|olors = |
|00002140| 52 45 43 4f 52 44 0d 20 | 20 20 20 72 61 64 52 65 |RECORD. | radRe|
|00002150| 73 65 72 76 65 64 20 3a | 20 49 6e 74 65 67 65 72 |served :| Integer|
|00002160| 3b 20 7b 20 72 65 73 65 | 72 76 65 64 20 7d 0d 20 |; { rese|rved }. |
|00002170| 20 20 20 72 61 64 4e 6f | 72 20 3a 20 49 6e 74 65 | radNo|r : Inte|
|00002180| 67 65 72 3b 20 7b 20 63 | 6f 6c 6f 72 20 6f 66 20 |ger; { c|olor of |
|00002190| 72 61 64 69 6f 20 62 75 | 74 74 6f 6e 20 77 68 65 |radio bu|tton whe|
|000021a0| 6e 20 6f 66 66 20 7d 0d | 20 20 20 20 72 61 64 53 |n off }.| radS|
|000021b0| 65 6c 20 3a 20 49 6e 74 | 65 67 65 72 3b 20 7b 20 |el : Int|eger; { |
|000021c0| 63 6f 6c 6f 72 20 6f 66 | 20 72 61 64 69 6f 20 62 |color of| radio b|
|000021d0| 75 74 74 6f 6e 20 77 68 | 65 6e 20 6f 6e 20 7d 0d |utton wh|en on }.|
|000021e0| 20 20 20 20 72 61 64 54 | 69 74 6c 65 20 3a 20 49 | radT|itle : I|
|000021f0| 6e 74 65 67 65 72 3b 20 | 7b 20 63 6f 6c 6f 72 20 |nteger; |{ color |
|00002200| 6f 66 20 72 61 64 69 6f | 20 62 75 74 74 6f 6e 27 |of radio| button'|
|00002210| 73 20 74 69 74 6c 65 20 | 74 65 78 74 20 7d 0d 45 |s title |text }.E|
|00002220| 4e 44 3b 0d 0d 4b 65 79 | 73 74 72 6f 6b 65 52 65 |ND;..Key|strokeRe|
|00002230| 63 20 3d 20 50 41 43 4b | 45 44 20 52 45 43 4f 52 |c = PACK|ED RECOR|
|00002240| 44 0d 20 20 20 20 6b 65 | 79 31 20 3a 20 42 79 74 |D. ke|y1 : Byt|
|00002250| 65 3b 0d 20 20 20 20 6b | 65 79 32 20 3a 20 42 79 |e;. k|ey2 : By|
|00002260| 74 65 3b 0d 20 20 20 20 | 6b 65 79 4d 6f 64 69 66 |te;. |keyModif|
|00002270| 69 65 72 73 20 3a 20 49 | 6e 74 65 67 65 72 3b 0d |iers : I|nteger;.|
|00002280| 20 20 20 20 6b 65 79 43 | 61 72 65 42 69 74 73 20 | keyC|areBits |
|00002290| 3a 20 49 6e 74 65 67 65 | 72 3b 0d 45 4e 44 3b 0d |: Intege|r;.END;.|
|000022a0| 0d 43 6f 6e 74 72 6f 6c | 54 65 6d 70 6c 61 74 65 |.Control|Template|
|000022b0| 20 3d 20 52 45 43 4f 52 | 44 0d 20 20 20 20 70 43 | = RECOR|D. pC|
|000022c0| 6f 75 6e 74 20 3a 20 49 | 6e 74 65 67 65 72 3b 0d |ount : I|nteger;.|
|000022d0| 20 20 20 20 49 44 20 3a | 20 4c 6f 6e 67 69 6e 74 | ID :| Longint|
|000022e0| 3b 0d 20 20 20 20 72 65 | 63 74 20 3a 20 52 65 63 |;. re|ct : Rec|
|000022f0| 74 3b 0d 20 20 20 20 70 | 72 6f 63 52 65 66 20 3a |t;. p|rocRef :|
|00002300| 20 4c 6f 6e 67 69 6e 74 | 3b 0d 20 20 20 20 66 6c | Longint|;. fl|
|00002310| 61 67 20 3a 20 49 6e 74 | 65 67 65 72 3b 0d 20 20 |ag : Int|eger;. |
|00002320| 20 20 6d 6f 72 65 46 6c | 61 67 73 20 3a 20 49 6e | moreFl|ags : In|
|00002330| 74 65 67 65 72 3b 0d 20 | 20 20 20 72 65 66 43 6f |teger;. | refCo|
|00002340| 6e 20 3a 20 4c 6f 6e 67 | 69 6e 74 3b 0d 45 4e 44 |n : Long|int;.END|
|00002350| 3b 0d 0d 53 69 6d 70 6c | 65 42 75 74 74 6f 6e 54 |;..Simpl|eButtonT|
|00002360| 65 6d 70 6c 61 74 65 20 | 3d 20 52 45 43 4f 52 44 |emplate |= RECORD|
|00002370| 0d 20 20 20 20 63 74 6c | 54 65 6d 70 6c 61 74 65 |. ctl|Template|
|00002380| 20 3a 20 43 6f 6e 74 72 | 6f 6c 54 65 6d 70 6c 61 | : Contr|olTempla|
|00002390| 74 65 3b 0d 20 20 20 20 | 74 69 74 6c 65 52 65 66 |te;. |titleRef|
|000023a0| 20 3a 20 52 65 66 3b 0d | 20 20 20 20 63 6f 6c 6f | : Ref;.| colo|
|000023b0| 72 54 61 62 6c 65 52 65 | 66 20 3a 20 52 65 66 3b |rTableRe|f : Ref;|
|000023c0| 0d 20 20 20 20 6b 65 79 | 45 71 75 69 76 61 6c 65 |. key|Equivale|
|000023d0| 6e 74 20 3a 20 4b 65 79 | 73 74 72 6f 6b 65 52 65 |nt : Key|strokeRe|
|000023e0| 63 3b 0d 45 4e 44 3b 0d | 0d 43 68 65 63 6b 42 6f |c;.END;.|.CheckBo|
|000023f0| 78 54 65 6d 70 6c 61 74 | 65 20 3d 20 52 45 43 4f |xTemplat|e = RECO|
|00002400| 52 44 0d 20 20 20 20 63 | 74 6c 54 65 6d 70 6c 61 |RD. c|tlTempla|
|00002410| 74 65 20 3a 20 43 6f 6e | 74 72 6f 6c 54 65 6d 70 |te : Con|trolTemp|
|00002420| 6c 61 74 65 3b 0d 20 20 | 20 20 74 69 74 6c 65 52 |late;. | titleR|
|00002430| 65 66 20 3a 20 52 65 66 | 3b 0d 20 20 20 20 69 6e |ef : Ref|;. in|
|00002440| 69 74 61 6c 56 61 6c 75 | 65 20 3a 20 49 6e 74 65 |italValu|e : Inte|
|00002450| 67 65 72 3b 0d 20 20 20 | 20 63 6f 6c 6f 72 54 61 |ger;. | colorTa|
|00002460| 62 6c 65 52 65 66 20 3a | 20 52 65 66 3b 0d 20 20 |bleRef :| Ref;. |
|00002470| 20 20 6b 65 79 45 71 75 | 69 76 61 6c 65 6e 74 20 | keyEqu|ivalent |
|00002480| 3a 20 4b 65 79 73 74 72 | 6f 6b 65 52 65 63 3b 0d |: Keystr|okeRec;.|
|00002490| 45 4e 44 3b 0d 0d 49 63 | 6f 6e 42 75 74 74 6f 6e |END;..Ic|onButton|
|000024a0| 54 65 6d 70 6c 61 74 65 | 20 3d 20 52 45 43 4f 52 |Template| = RECOR|
|000024b0| 44 0d 20 20 20 20 63 74 | 6c 54 65 6d 70 6c 61 74 |D. ct|lTemplat|
|000024c0| 65 20 3a 20 43 6f 6e 74 | 72 6f 6c 54 65 6d 70 6c |e : Cont|rolTempl|
|000024d0| 61 74 65 3b 0d 20 20 20 | 20 69 63 6f 6e 52 65 66 |ate;. | iconRef|
|000024e0| 20 3a 20 52 65 66 3b 0d | 20 20 20 20 74 69 74 6c | : Ref;.| titl|
|000024f0| 65 52 65 66 20 3a 20 52 | 65 66 3b 0d 20 20 20 20 |eRef : R|ef;. |
|00002500| 63 6f 6c 6f 72 54 61 62 | 6c 65 52 65 66 20 3a 20 |colorTab|leRef : |
|00002510| 52 65 66 3b 0d 20 20 20 | 20 64 69 73 70 6c 61 79 |Ref;. | display|
|00002520| 4d 6f 64 65 20 3a 20 49 | 6e 74 65 67 65 72 3b 0d |Mode : I|nteger;.|
|00002530| 20 20 20 20 6b 65 79 45 | 71 75 69 76 61 6c 65 6e | keyE|quivalen|
|00002540| 74 20 3a 20 4b 65 79 73 | 74 72 6f 6b 65 52 65 63 |t : Keys|trokeRec|
|00002550| 3b 0d 45 4e 44 3b 0d 0d | 4c 69 6e 65 45 64 69 74 |;.END;..|LineEdit|
|00002560| 54 65 6d 70 6c 61 74 65 | 20 3d 20 52 45 43 4f 52 |Template| = RECOR|
|00002570| 44 0d 20 20 20 20 63 74 | 6c 54 65 6d 70 6c 61 74 |D. ct|lTemplat|
|00002580| 65 20 3a 20 43 6f 6e 74 | 72 6f 6c 54 65 6d 70 6c |e : Cont|rolTempl|
|00002590| 61 74 65 3b 0d 20 20 20 | 20 6d 61 78 53 69 7a 65 |ate;. | maxSize|
|000025a0| 20 3a 20 49 6e 74 65 67 | 65 72 3b 0d 20 20 20 20 | : Integ|er;. |
|000025b0| 64 65 66 61 75 6c 74 52 | 65 66 20 3a 20 52 65 66 |defaultR|ef : Ref|
|000025c0| 3b 0d 09 70 61 73 73 77 | 6f 72 64 43 68 61 72 3a |;..passw|ordChar:|
|000025d0| 20 49 6e 74 65 67 65 72 | 3b 0d 45 4e 44 3b 0d 0d | Integer|;.END;..|
|000025e0| 4c 69 73 74 54 65 6d 70 | 6c 61 74 65 20 3d 20 52 |ListTemp|late = R|
|000025f0| 45 43 4f 52 44 0d 20 20 | 20 20 63 74 6c 54 65 6d |ECORD. | ctlTem|
|00002600| 70 6c 61 74 65 20 3a 20 | 43 6f 6e 74 72 6f 6c 54 |plate : |ControlT|
|00002610| 65 6d 70 6c 61 74 65 3b | 0d 20 20 20 20 6c 69 73 |emplate;|. lis|
|00002620| 74 53 69 7a 65 20 3a 20 | 49 6e 74 65 67 65 72 3b |tSize : |Integer;|
|00002630| 0d 20 20 20 20 6c 69 73 | 74 56 69 65 77 20 3a 20 |. lis|tView : |
|00002640| 49 6e 74 65 67 65 72 3b | 0d 20 20 20 20 6c 69 73 |Integer;|. lis|
|00002650| 74 54 79 70 65 20 3a 20 | 49 6e 74 65 67 65 72 3b |tType : |Integer;|
|00002660| 0d 20 20 20 20 6c 69 73 | 74 53 74 61 72 74 20 3a |. lis|tStart :|
|00002670| 20 49 6e 74 65 67 65 72 | 3b 0d 20 20 20 20 6c 69 | Integer|;. li|
|00002680| 73 74 44 72 61 77 20 3a | 20 50 72 6f 63 50 74 72 |stDraw :| ProcPtr|
|00002690| 3b 0d 20 20 20 20 6c 69 | 73 74 4d 65 6d 48 65 69 |;. li|stMemHei|
|000026a0| 67 68 74 20 3a 20 49 6e | 74 65 67 65 72 3b 0d 20 |ght : In|teger;. |
|000026b0| 20 20 20 6c 69 73 74 4d | 65 6d 53 69 7a 65 20 3a | listM|emSize :|
|000026c0| 20 49 6e 74 65 67 65 72 | 3b 0d 20 20 20 20 6c 69 | Integer|;. li|
|000026d0| 73 74 52 65 66 20 3a 20 | 52 65 66 3b 0d 20 20 20 |stRef : |Ref;. |
|000026e0| 20 63 6f 6c 6f 72 54 61 | 62 6c 65 52 65 66 20 3a | colorTa|bleRef :|
|000026f0| 20 52 65 66 3b 0d 45 4e | 44 3b 0d 0d 50 69 63 74 | Ref;.EN|D;..Pict|
|00002700| 75 72 65 54 65 6d 70 6c | 61 74 65 20 3d 20 52 45 |ureTempl|ate = RE|
|00002710| 43 4f 52 44 0d 20 20 20 | 20 63 74 6c 54 65 6d 70 |CORD. | ctlTemp|
|00002720| 6c 61 74 65 20 3a 20 43 | 6f 6e 74 72 6f 6c 54 65 |late : C|ontrolTe|
|00002730| 6d 70 6c 61 74 65 3b 0d | 20 20 20 20 70 69 63 74 |mplate;.| pict|
|00002740| 75 72 65 52 65 66 20 3a | 20 52 65 66 3b 0d 45 4e |ureRef :| Ref;.EN|
|00002750| 44 3b 0d 0d 50 6f 70 75 | 70 54 65 6d 70 6c 61 74 |D;..Popu|pTemplat|
|00002760| 65 20 3d 20 52 45 43 4f | 52 44 0d 20 20 20 20 63 |e = RECO|RD. c|
|00002770| 74 6c 54 65 6d 70 6c 61 | 74 65 20 3a 20 43 6f 6e |tlTempla|te : Con|
|00002780| 74 72 6f 6c 54 65 6d 70 | 6c 61 74 65 3b 0d 20 20 |trolTemp|late;. |
|00002790| 20 20 74 69 74 6c 65 57 | 69 64 74 68 20 3a 20 49 | titleW|idth : I|
|000027a0| 6e 74 65 67 65 72 3b 0d | 20 20 20 20 6d 65 6e 75 |nteger;.| menu|
|000027b0| 52 65 66 20 3a 20 52 65 | 66 3b 0d 20 20 20 20 69 |Ref : Re|f;. i|
|000027c0| 6e 69 74 69 61 6c 56 61 | 6c 75 65 20 3a 20 49 6e |nitialVa|lue : In|
|000027d0| 74 65 67 65 72 3b 0d 20 | 20 20 20 63 6f 6c 6f 72 |teger;. | color|
|000027e0| 54 61 62 6c 65 52 65 66 | 20 3a 20 52 65 66 3b 0d |TableRef| : Ref;.|
|000027f0| 45 4e 44 3b 0d 0d 52 61 | 64 69 6f 42 75 74 74 6f |END;..Ra|dioButto|
|00002800| 6e 54 65 6d 70 6c 61 74 | 65 20 3d 20 52 45 43 4f |nTemplat|e = RECO|
|00002810| 52 44 0d 20 20 20 20 63 | 74 6c 54 65 6d 70 6c 61 |RD. c|tlTempla|
|00002820| 74 65 20 3a 20 43 6f 6e | 74 72 6f 6c 54 65 6d 70 |te : Con|trolTemp|
|00002830| 6c 61 74 65 3b 0d 20 20 | 20 20 74 69 74 6c 65 52 |late;. | titleR|
|00002840| 65 66 20 3a 20 52 65 66 | 3b 0d 20 20 20 20 69 6e |ef : Ref|;. in|
|00002850| 69 74 61 6c 56 61 6c 75 | 65 20 3a 20 49 6e 74 65 |italValu|e : Inte|
|00002860| 67 65 72 3b 0d 20 20 20 | 20 63 6f 6c 6f 72 54 61 |ger;. | colorTa|
|00002870| 62 6c 65 52 65 66 20 3a | 20 52 65 66 3b 0d 20 20 |bleRef :| Ref;. |
|00002880| 20 20 6b 65 79 45 71 75 | 69 76 61 6c 65 6e 74 20 | keyEqu|ivalent |
|00002890| 3a 20 4b 65 79 73 74 72 | 6f 6b 65 52 65 63 3b 0d |: Keystr|okeRec;.|
|000028a0| 45 4e 44 3b 0d 0d 52 65 | 63 74 61 6e 67 6c 65 54 |END;..Re|ctangleT|
|000028b0| 65 6d 70 6c 61 74 65 20 | 3d 20 52 45 43 4f 52 44 |emplate |= RECORD|
|000028c0| 0d 20 20 20 20 63 74 6c | 54 65 6d 70 6c 61 74 65 |. ctl|Template|
|000028d0| 3a 20 43 6f 6e 74 72 6f | 6c 54 65 6d 70 6c 61 74 |: Contro|lTemplat|
|000028e0| 65 3b 0d 09 70 65 6e 48 | 65 69 67 68 74 3a 20 69 |e;..penH|eight: i|
|000028f0| 6e 74 65 67 65 72 3b 0d | 09 70 65 6e 57 69 64 74 |nteger;.|.penWidt|
|00002900| 68 3a 20 69 6e 74 65 67 | 65 72 3b 0d 09 70 65 6e |h: integ|er;..pen|
|00002910| 4d 61 73 6b 3a 20 4d 61 | 73 6b 3b 0d 09 70 65 6e |Mask: Ma|sk;..pen|
|00002920| 50 61 74 74 65 72 6e 3a | 20 50 61 74 74 65 72 6e |Pattern:| Pattern|
|00002930| 3b 0d 45 4e 44 3b 0d 0d | 53 63 72 6f 6c 6c 42 61 |;.END;..|ScrollBa|
|00002940| 72 54 65 6d 70 6c 61 74 | 65 20 3d 20 52 45 43 4f |rTemplat|e = RECO|
|00002950| 52 44 0d 20 20 20 20 63 | 74 6c 54 65 6d 70 6c 61 |RD. c|tlTempla|
|00002960| 74 65 20 3a 20 43 6f 6e | 74 72 6f 6c 54 65 6d 70 |te : Con|trolTemp|
|00002970| 6c 61 74 65 3b 0d 20 20 | 20 20 6d 61 78 53 69 7a |late;. | maxSiz|
|00002980| 65 20 3a 20 49 6e 74 65 | 67 65 72 3b 0d 20 20 20 |e : Inte|ger;. |
|00002990| 20 76 69 65 77 53 69 7a | 65 20 3a 20 49 6e 74 65 | viewSiz|e : Inte|
|000029a0| 67 65 72 3b 0d 20 20 20 | 20 69 6e 69 74 61 6c 56 |ger;. | initalV|
|000029b0| 61 6c 75 65 20 3a 20 49 | 6e 74 65 67 65 72 3b 0d |alue : I|nteger;.|
|000029c0| 20 20 20 20 63 6f 6c 6f | 72 54 61 62 6c 65 52 65 | colo|rTableRe|
|000029d0| 66 20 3a 20 52 65 66 3b | 0d 45 4e 44 3b 0d 0d 53 |f : Ref;|.END;..S|
|000029e0| 69 7a 65 42 6f 78 54 65 | 6d 70 6c 61 74 65 20 3d |izeBoxTe|mplate =|
|000029f0| 20 52 45 43 4f 52 44 0d | 20 20 20 20 63 74 6c 54 | RECORD.| ctlT|
|00002a00| 65 6d 70 6c 61 74 65 20 | 3a 20 43 6f 6e 74 72 6f |emplate |: Contro|
|00002a10| 6c 54 65 6d 70 6c 61 74 | 65 3b 0d 20 20 20 20 63 |lTemplat|e;. c|
|00002a20| 6f 6c 6f 72 54 61 62 6c | 65 52 65 66 20 3a 20 52 |olorTabl|eRef : R|
|00002a30| 65 66 3b 0d 45 4e 44 3b | 0d 0d 53 74 61 74 69 63 |ef;.END;|..Static|
|00002a40| 54 65 78 74 54 65 6d 70 | 6c 61 74 65 20 3d 20 52 |TextTemp|late = R|
|00002a50| 45 43 4f 52 44 0d 20 20 | 20 20 63 74 6c 54 65 6d |ECORD. | ctlTem|
|00002a60| 70 6c 61 74 65 20 3a 20 | 43 6f 6e 74 72 6f 6c 54 |plate : |ControlT|
|00002a70| 65 6d 70 6c 61 74 65 3b | 0d 20 20 20 20 74 65 78 |emplate;|. tex|
|00002a80| 74 52 65 66 20 3a 20 52 | 65 66 3b 0d 20 20 20 20 |tRef : R|ef;. |
|00002a90| 74 65 78 74 53 69 7a 65 | 20 3a 20 49 6e 74 65 67 |textSize| : Integ|
|00002aa0| 65 72 3b 0d 20 20 20 20 | 6a 75 73 74 20 3a 20 49 |er;. |just : I|
|00002ab0| 6e 74 65 67 65 72 3b 0d | 45 4e 44 3b 0d 0d 54 65 |nteger;.|END;..Te|
|00002ac0| 78 74 45 64 69 74 54 65 | 6d 70 6c 61 74 65 20 3d |xtEditTe|mplate =|
|00002ad0| 20 52 45 43 4f 52 44 0d | 20 20 20 20 63 74 6c 54 | RECORD.| ctlT|
|00002ae0| 65 6d 70 6c 61 74 65 20 | 3a 20 43 6f 6e 74 72 6f |emplate |: Contro|
|00002af0| 6c 54 65 6d 70 6c 61 74 | 65 3b 0d 20 20 20 20 74 |lTemplat|e;. t|
|00002b00| 65 78 74 46 6c 61 67 73 | 20 3a 20 4c 6f 6e 67 69 |extFlags| : Longi|
|00002b10| 6e 74 3b 0d 20 20 20 20 | 69 6e 64 65 6e 74 52 65 |nt;. |indentRe|
|00002b20| 63 74 20 3a 20 52 65 63 | 74 3b 0d 20 20 20 20 76 |ct : Rec|t;. v|
|00002b30| 65 72 74 42 61 72 20 3a | 20 43 74 6c 52 65 63 48 |ertBar :| CtlRecH|
|00002b40| 6e 64 6c 3b 0d 20 20 20 | 20 76 65 72 74 41 6d 6f |ndl;. | vertAmo|
|00002b50| 75 6e 74 20 3a 20 49 6e | 74 65 67 65 72 3b 0d 20 |unt : In|teger;. |
|00002b60| 20 20 20 68 6f 72 7a 42 | 61 72 20 3a 20 43 74 6c | horzB|ar : Ctl|
|00002b70| 52 65 63 48 6e 64 6c 3b | 0d 20 20 20 20 68 6f 72 |RecHndl;|. hor|
|00002b80| 7a 41 6d 6f 75 6e 74 20 | 3a 20 49 6e 74 65 67 65 |zAmount |: Intege|
|00002b90| 72 3b 0d 20 20 20 20 73 | 74 79 6c 65 52 65 66 20 |r;. s|tyleRef |
|00002ba0| 3a 20 52 65 66 3b 0d 20 | 20 20 20 74 65 78 74 44 |: Ref;. | textD|
|00002bb0| 65 73 63 72 69 70 74 6f | 72 20 3a 20 49 6e 74 65 |escripto|r : Inte|
|00002bc0| 67 65 72 3b 0d 20 20 20 | 20 74 65 78 74 52 65 66 |ger;. | textRef|
|00002bd0| 20 3a 20 52 65 66 3b 0d | 20 20 20 20 74 65 78 74 | : Ref;.| text|
|00002be0| 4c 65 6e 67 74 68 20 3a | 20 4c 6f 6e 67 69 6e 74 |Length :| Longint|
|00002bf0| 3b 0d 20 20 20 20 6d 61 | 78 43 68 61 72 73 20 3a |;. ma|xChars :|
|00002c00| 20 4c 6f 6e 67 69 6e 74 | 3b 0d 20 20 20 20 6d 61 | Longint|;. ma|
|00002c10| 78 4c 69 6e 65 73 20 3a | 20 4c 6f 6e 67 69 6e 74 |xLines :| Longint|
|00002c20| 3b 0d 20 20 20 20 6d 61 | 78 43 68 61 72 73 50 65 |;. ma|xCharsPe|
|00002c30| 72 4c 69 6e 65 20 3a 20 | 49 6e 74 65 67 65 72 3b |rLine : |Integer;|
|00002c40| 0d 20 20 20 20 6d 61 78 | 48 65 69 67 68 74 20 3a |. max|Height :|
|00002c50| 20 49 6e 74 65 67 65 72 | 3b 0d 20 20 20 20 63 6f | Integer|;. co|
|00002c60| 6c 6f 72 52 65 66 20 3a | 20 52 65 66 3b 0d 20 20 |lorRef :| Ref;. |
|00002c70| 20 20 64 72 61 77 4d 6f | 64 65 20 3a 20 49 6e 74 | drawMo|de : Int|
|00002c80| 65 67 65 72 3b 0d 20 20 | 20 20 66 69 6c 74 65 72 |eger;. | filter|
|00002c90| 50 72 6f 63 50 74 72 20 | 3a 20 50 72 6f 63 50 74 |ProcPtr |: ProcPt|
|00002ca0| 72 3b 0d 45 4e 44 3b 0d | 0d 54 68 65 72 6d 6f 6d |r;.END;.|.Thermom|
|00002cb0| 65 74 65 72 54 65 6d 70 | 6c 61 74 65 20 3d 20 52 |eterTemp|late = R|
|00002cc0| 45 43 4f 52 44 0d 20 20 | 20 20 63 74 6c 54 65 6d |ECORD. | ctlTem|
|00002cd0| 70 6c 61 74 65 3a 20 43 | 6f 6e 74 72 6f 6c 54 65 |plate: C|ontrolTe|
|00002ce0| 6d 70 6c 61 74 65 3b 0d | 09 76 61 6c 75 65 3a 20 |mplate;.|.value: |
|00002cf0| 69 6e 74 65 67 65 72 3b | 0d 09 64 61 74 61 3a 20 |integer;|..data: |
|00002d00| 69 6e 74 65 67 65 72 3b | 0d 09 63 6f 6c 6f 72 54 |integer;|..colorT|
|00002d10| 61 62 6c 65 52 65 66 3a | 20 52 65 66 3b 0d 45 4e |ableRef:| Ref;.EN|
|00002d20| 44 3b 0d 0d 46 55 4e 43 | 54 49 4f 4e 20 20 43 61 |D;..FUNC|TION Ca|
|00002d30| 6c 6c 43 74 6c 44 65 66 | 50 72 6f 63 20 28 20 63 |llCtlDef|Proc ( c|
|00002d40| 74 6c 48 61 6e 64 6c 65 | 3a 43 74 6c 52 65 63 48 |tlHandle|:CtlRecH|
|00002d50| 6e 64 6c 3b 20 63 74 6c | 4d 65 73 73 61 67 65 3a |ndl; ctl|Message:|
|00002d60| 49 6e 74 65 67 65 72 3b | 20 63 74 6c 50 61 72 61 |Integer;| ctlPara|
|00002d70| 6d 3a 4c 6f 6e 67 69 6e | 74 29 20 3a 20 4c 6f 6e |m:Longin|t) : Lon|
|00002d80| 67 69 6e 74 20 3b 0d 46 | 55 4e 43 54 49 4f 4e 20 |gint ;.F|UNCTION |
|00002d90| 20 43 4d 4c 6f 61 64 52 | 65 73 6f 75 72 63 65 20 | CMLoadR|esource |
|00002da0| 28 20 72 65 73 6f 75 72 | 63 65 54 79 70 65 3a 49 |( resour|ceType:I|
|00002db0| 6e 74 65 67 65 72 3b 20 | 72 65 73 6f 75 72 63 65 |nteger; |resource|
|00002dc0| 49 44 3a 4c 6f 6e 67 69 | 6e 74 29 20 3a 20 48 61 |ID:Longi|nt) : Ha|
|00002dd0| 6e 64 6c 65 20 3b 0d 50 | 52 4f 43 45 44 55 52 45 |ndle ;.P|ROCEDURE|
|00002de0| 20 43 4d 52 65 6c 65 61 | 73 65 52 65 73 6f 75 72 | CMRelea|seResour|
|00002df0| 63 65 20 28 20 72 65 73 | 6f 75 72 63 65 54 79 70 |ce ( res|ourceTyp|
|00002e00| 65 3a 49 6e 74 65 67 65 | 72 3b 20 72 65 73 6f 75 |e:Intege|r; resou|
|00002e10| 72 63 65 49 44 3a 4c 6f | 6e 67 69 6e 74 29 20 20 |rceID:Lo|ngint) |
|00002e20| 3b 0d 50 52 4f 43 45 44 | 55 52 45 20 43 74 6c 42 |;.PROCED|URE CtlB|
|00002e30| 6f 6f 74 49 6e 69 74 20 | 20 20 3b 0d 50 52 4f 43 |ootInit | ;.PROC|
|00002e40| 45 44 55 52 45 20 43 74 | 6c 4e 65 77 52 65 73 20 |EDURE Ct|lNewRes |
|00002e50| 20 20 3b 0d 50 52 4f 43 | 45 44 55 52 45 20 43 74 | ;.PROC|EDURE Ct|
|00002e60| 6c 52 65 73 65 74 20 20 | 20 3b 0d 50 52 4f 43 45 |lReset | ;.PROCE|
|00002e70| 44 55 52 45 20 43 74 6c | 53 68 75 74 44 6f 77 6e |DURE Ctl|ShutDown|
|00002e80| 20 20 20 3b 0d 50 52 4f | 43 45 44 55 52 45 20 43 | ;.PRO|CEDURE C|
|00002e90| 74 6c 53 74 61 72 74 55 | 70 20 28 20 75 73 65 72 |tlStartU|p ( user|
|00002ea0| 49 44 3a 49 6e 74 65 67 | 65 72 3b 20 64 50 61 67 |ID:Integ|er; dPag|
|00002eb0| 65 41 64 64 72 3a 49 6e | 74 65 67 65 72 29 20 20 |eAddr:In|teger) |
|00002ec0| 3b 0d 46 55 4e 43 54 49 | 4f 4e 20 20 43 74 6c 53 |;.FUNCTI|ON CtlS|
|00002ed0| 74 61 74 75 73 20 20 3a | 20 42 6f 6f 6c 65 61 6e |tatus :| Boolean|
|00002ee0| 20 3b 0d 46 55 4e 43 54 | 49 4f 4e 20 20 43 74 6c | ;.FUNCT|ION Ctl|
|00002ef0| 56 65 72 73 69 6f 6e 20 | 20 3a 20 49 6e 74 65 67 |Version | : Integ|
|00002f00| 65 72 20 3b 0d 50 52 4f | 43 45 44 55 52 45 20 44 |er ;.PRO|CEDURE D|
|00002f10| 69 73 70 6f 73 65 43 6f | 6e 74 72 6f 6c 20 28 20 |isposeCo|ntrol ( |
|00002f20| 74 68 65 43 6f 6e 74 72 | 6f 6c 48 61 6e 64 6c 65 |theContr|olHandle|
|00002f30| 3a 43 74 6c 52 65 63 48 | 6e 64 6c 29 20 20 3b 0d |:CtlRecH|ndl) ;.|
|00002f40| 50 52 4f 43 45 44 55 52 | 45 20 44 72 61 67 43 6f |PROCEDUR|E DragCo|
|00002f50| 6e 74 72 6f 6c 20 28 20 | 73 74 61 72 74 58 3a 49 |ntrol ( |startX:I|
|00002f60| 6e 74 65 67 65 72 3b 20 | 73 74 61 72 74 59 3a 49 |nteger; |startY:I|
|00002f70| 6e 74 65 67 65 72 3b 20 | 6c 69 6d 69 74 52 65 63 |nteger; |limitRec|
|00002f80| 74 50 74 72 3a 52 65 63 | 74 3b 20 73 6c 6f 70 52 |tPtr:Rec|t; slopR|
|00002f90| 65 63 74 50 74 72 3a 52 | 65 63 74 3b 20 64 72 61 |ectPtr:R|ect; dra|
|00002fa0| 67 46 6c 61 67 3a 49 6e | 74 65 67 65 72 3b 20 74 |gFlag:In|teger; t|
|00002fb0| 68 65 43 6f 6e 74 72 6f | 6c 48 61 6e 64 6c 65 3a |heContro|lHandle:|
|00002fc0| 43 74 6c 52 65 63 48 6e | 64 6c 29 20 20 3b 0d 46 |CtlRecHn|dl) ;.F|
|00002fd0| 55 4e 43 54 49 4f 4e 20 | 20 44 72 61 67 52 65 63 |UNCTION | DragRec|
|00002fe0| 74 20 28 20 61 63 74 69 | 6f 6e 50 72 6f 63 50 74 |t ( acti|onProcPt|
|00002ff0| 72 3a 56 6f 69 64 50 72 | 6f 63 50 74 72 3b 20 64 |r:VoidPr|ocPtr; d|
|00003000| 72 61 67 50 61 74 74 65 | 72 6e 50 74 72 3a 50 61 |ragPatte|rnPtr:Pa|
|00003010| 74 74 65 72 6e 3b 20 73 | 74 61 72 74 58 3a 49 6e |ttern; s|tartX:In|
|00003020| 74 65 67 65 72 3b 20 73 | 74 61 72 74 59 3a 49 6e |teger; s|tartY:In|
|00003030| 74 65 67 65 72 3b 56 41 | 52 20 64 72 61 67 52 65 |teger;VA|R dragRe|
|00003040| 63 74 50 74 72 3a 52 65 | 63 74 3b 20 6c 69 6d 69 |ctPtr:Re|ct; limi|
|00003050| 74 52 65 63 74 50 74 72 | 3a 52 65 63 74 3b 20 73 |tRectPtr|:Rect; s|
|00003060| 6c 6f 70 52 65 63 74 50 | 74 72 3a 52 65 63 74 3b |lopRectP|tr:Rect;|
|00003070| 20 64 72 61 67 46 6c 61 | 67 3a 49 6e 74 65 67 65 | dragFla|g:Intege|
|00003080| 72 29 20 3a 20 50 6f 69 | 6e 74 20 3b 0d 50 52 4f |r) : Poi|nt ;.PRO|
|00003090| 43 45 44 55 52 45 20 44 | 72 61 77 43 6f 6e 74 72 |CEDURE D|rawContr|
|000030a0| 6f 6c 73 20 28 20 74 68 | 65 57 69 6e 64 6f 77 50 |ols ( th|eWindowP|
|000030b0| 74 72 3a 57 69 6e 64 6f | 77 50 74 72 29 20 20 3b |tr:Windo|wPtr) ;|
|000030c0| 0d 50 52 4f 43 45 44 55 | 52 45 20 44 72 61 77 4f |.PROCEDU|RE DrawO|
|000030d0| 6e 65 43 74 6c 20 28 20 | 74 68 65 43 6f 6e 74 72 |neCtl ( |theContr|
|000030e0| 6f 6c 48 61 6e 64 6c 65 | 3a 43 74 6c 52 65 63 48 |olHandle|:CtlRecH|
|000030f0| 6e 64 6c 29 20 20 3b 0d | 50 52 4f 43 45 44 55 52 |ndl) ;.|PROCEDUR|
|00003100| 45 20 45 72 61 73 65 43 | 6f 6e 74 72 6f 6c 20 28 |E EraseC|ontrol (|
|00003110| 20 74 68 65 43 6f 6e 74 | 72 6f 6c 48 61 6e 64 6c | theCont|rolHandl|
|00003120| 65 3a 43 74 6c 52 65 63 | 48 6e 64 6c 29 20 20 3b |e:CtlRec|Hndl) ;|
|00003130| 0d 46 55 4e 43 54 49 4f | 4e 20 20 46 69 6e 64 43 |.FUNCTIO|N FindC|
|00003140| 6f 6e 74 72 6f 6c 20 28 | 56 41 52 20 66 6f 75 6e |ontrol (|VAR foun|
|00003150| 64 43 74 6c 3a 43 74 6c | 52 65 63 48 6e 64 6c 3b |dCtl:Ctl|RecHndl;|
|00003160| 20 70 6f 69 6e 74 58 3a | 49 6e 74 65 67 65 72 3b | pointX:|Integer;|
|00003170| 20 70 6f 69 6e 74 59 3a | 49 6e 74 65 67 65 72 3b | pointY:|Integer;|
|00003180| 20 74 68 65 57 69 6e 64 | 6f 77 50 74 72 3a 57 69 | theWind|owPtr:Wi|
|00003190| 6e 64 6f 77 50 74 72 29 | 20 3a 20 49 6e 74 65 67 |ndowPtr)| : Integ|
|000031a0| 65 72 20 3b 0d 46 55 4e | 43 54 49 4f 4e 20 20 46 |er ;.FUN|CTION F|
|000031b0| 69 6e 64 54 61 72 67 65 | 74 43 74 6c 20 20 3a 20 |indTarge|tCtl : |
|000031c0| 43 74 6c 52 65 63 48 6e | 64 6c 20 3b 0d 46 55 4e |CtlRecHn|dl ;.FUN|
|000031d0| 43 54 49 4f 4e 20 20 47 | 65 74 43 74 6c 41 63 74 |CTION G|etCtlAct|
|000031e0| 69 6f 6e 20 28 20 74 68 | 65 43 6f 6e 74 72 6f 6c |ion ( th|eControl|
|000031f0| 48 61 6e 64 6c 65 3a 43 | 74 6c 52 65 63 48 6e 64 |Handle:C|tlRecHnd|
|00003200| 6c 29 20 3a 20 4c 6f 6e | 67 50 72 6f 63 50 74 72 |l) : Lon|gProcPtr|
|00003210| 20 3b 0d 46 55 4e 43 54 | 49 4f 4e 20 20 47 65 74 | ;.FUNCT|ION Get|
|00003220| 43 74 6c 44 50 61 67 65 | 20 20 3a 20 49 6e 74 65 |CtlDPage| : Inte|
|00003230| 67 65 72 20 3b 0d 46 55 | 4e 43 54 49 4f 4e 20 20 |ger ;.FU|NCTION |
|00003240| 47 65 74 43 74 6c 48 61 | 6e 64 6c 65 46 72 6f 6d |GetCtlHa|ndleFrom|
|00003250| 49 44 20 28 20 63 74 6c | 57 69 6e 64 6f 77 50 74 |ID ( ctl|WindowPt|
|00003260| 72 3a 57 69 6e 64 6f 77 | 50 74 72 3b 20 63 74 6c |r:Window|Ptr; ctl|
|00003270| 49 44 3a 4c 6f 6e 67 69 | 6e 74 29 20 3a 20 43 74 |ID:Longi|nt) : Ct|
|00003280| 6c 52 65 63 48 6e 64 6c | 20 3b 0d 46 55 4e 43 54 |lRecHndl| ;.FUNCT|
|00003290| 49 4f 4e 20 20 47 65 74 | 43 74 6c 49 44 20 28 20 |ION Get|CtlID ( |
|000032a0| 63 74 6c 48 61 6e 64 6c | 65 3a 43 74 6c 52 65 63 |ctlHandl|e:CtlRec|
|000032b0| 48 6e 64 6c 29 20 3a 20 | 4c 6f 6e 67 69 6e 74 20 |Hndl) : |Longint |
|000032c0| 3b 0d 46 55 4e 43 54 49 | 4f 4e 20 20 47 65 74 43 |;.FUNCTI|ON GetC|
|000032d0| 74 6c 4d 6f 72 65 46 6c | 61 67 73 20 28 20 63 74 |tlMoreFl|ags ( ct|
|000032e0| 6c 48 61 6e 64 6c 65 3a | 43 74 6c 52 65 63 48 6e |lHandle:|CtlRecHn|
|000032f0| 64 6c 29 20 3a 20 49 6e | 74 65 67 65 72 20 3b 0d |dl) : In|teger ;.|
|00003300| 46 55 4e 43 54 49 4f 4e | 20 20 47 65 74 43 74 6c |FUNCTION| GetCtl|
|00003310| 50 61 72 61 6d 50 74 72 | 20 20 3a 20 50 74 72 20 |ParamPtr| : Ptr |
|00003320| 3b 0d 46 55 4e 43 54 49 | 4f 4e 20 20 47 65 74 43 |;.FUNCTI|ON GetC|
|00003330| 74 6c 50 61 72 61 6d 73 | 20 28 20 74 68 65 43 6f |tlParams| ( theCo|
|00003340| 6e 74 72 6f 6c 48 61 6e | 64 6c 65 3a 43 74 6c 52 |ntrolHan|dle:CtlR|
|00003350| 65 63 48 6e 64 6c 29 20 | 3a 20 4c 6f 6e 67 69 6e |ecHndl) |: Longin|
|00003360| 74 20 3b 0d 46 55 4e 43 | 54 49 4f 4e 20 20 47 65 |t ;.FUNC|TION Ge|
|00003370| 74 43 74 6c 52 65 66 43 | 6f 6e 20 28 20 74 68 65 |tCtlRefC|on ( the|
|00003380| 43 6f 6e 74 72 6f 6c 48 | 61 6e 64 6c 65 3a 43 74 |ControlH|andle:Ct|
|00003390| 6c 52 65 63 48 6e 64 6c | 29 20 3a 20 4c 6f 6e 67 |lRecHndl|) : Long|
|000033a0| 69 6e 74 20 3b 0d 46 55 | 4e 43 54 49 4f 4e 20 20 |int ;.FU|NCTION |
|000033b0| 47 65 74 43 74 6c 54 69 | 74 6c 65 20 28 20 74 68 |GetCtlTi|tle ( th|
|000033c0| 65 43 6f 6e 74 72 6f 6c | 48 61 6e 64 6c 65 3a 43 |eControl|Handle:C|
|000033d0| 74 6c 52 65 63 48 6e 64 | 6c 29 20 3a 20 50 74 72 |tlRecHnd|l) : Ptr|
|000033e0| 20 3b 0d 46 55 4e 43 54 | 49 4f 4e 20 20 47 65 74 | ;.FUNCT|ION Get|
|000033f0| 43 74 6c 56 61 6c 75 65 | 20 28 20 74 68 65 43 6f |CtlValue| ( theCo|
|00003400| 6e 74 72 6f 6c 48 61 6e | 64 6c 65 3a 43 74 6c 52 |ntrolHan|dle:CtlR|
|00003410| 65 63 48 6e 64 6c 29 20 | 3a 20 49 6e 74 65 67 65 |ecHndl) |: Intege|
|00003420| 72 20 3b 0d 46 55 4e 43 | 54 49 4f 4e 20 20 47 72 |r ;.FUNC|TION Gr|
|00003430| 6f 77 53 69 7a 65 20 20 | 3a 20 4c 6f 6e 67 69 6e |owSize |: Longin|
|00003440| 74 20 3b 0d 50 52 4f 43 | 45 44 55 52 45 20 48 69 |t ;.PROC|EDURE Hi|
|00003450| 64 65 43 6f 6e 74 72 6f | 6c 20 28 20 74 68 65 43 |deContro|l ( theC|
|00003460| 6f 6e 74 72 6f 6c 48 61 | 6e 64 6c 65 3a 43 74 6c |ontrolHa|ndle:Ctl|
|00003470| 52 65 63 48 6e 64 6c 29 | 20 20 3b 0d 50 52 4f 43 |RecHndl)| ;.PROC|
|00003480| 45 44 55 52 45 20 48 69 | 6c 69 74 65 43 6f 6e 74 |EDURE Hi|liteCont|
|00003490| 72 6f 6c 20 28 20 68 69 | 6c 69 74 65 53 74 61 74 |rol ( hi|liteStat|
|000034a0| 65 3a 49 6e 74 65 67 65 | 72 3b 20 74 68 65 43 6f |e:Intege|r; theCo|
|000034b0| 6e 74 72 6f 6c 48 61 6e | 64 6c 65 3a 43 74 6c 52 |ntrolHan|dle:CtlR|
|000034c0| 65 63 48 6e 64 6c 29 20 | 20 3b 0d 50 52 4f 43 45 |ecHndl) | ;.PROCE|
|000034d0| 44 55 52 45 20 49 6e 76 | 61 6c 43 74 6c 73 20 28 |DURE Inv|alCtls (|
|000034e0| 20 63 74 6c 57 69 6e 64 | 6f 77 50 74 72 3a 57 69 | ctlWind|owPtr:Wi|
|000034f0| 6e 64 6f 77 50 74 72 29 | 20 20 3b 0d 50 52 4f 43 |ndowPtr)| ;.PROC|
|00003500| 45 44 55 52 45 20 4b 69 | 6c 6c 43 6f 6e 74 72 6f |EDURE Ki|llContro|
|00003510| 6c 73 20 28 20 74 68 65 | 57 69 6e 64 6f 77 50 74 |ls ( the|WindowPt|
|00003520| 72 3a 57 69 6e 64 6f 77 | 50 74 72 29 20 20 3b 0d |r:Window|Ptr) ;.|
|00003530| 46 55 4e 43 54 49 4f 4e | 20 20 4d 61 6b 65 4e 65 |FUNCTION| MakeNe|
|00003540| 78 74 43 74 6c 54 61 72 | 67 65 74 20 20 3a 20 43 |xtCtlTar|get : C|
|00003550| 74 6c 52 65 63 48 6e 64 | 6c 20 3b 0d 50 52 4f 43 |tlRecHnd|l ;.PROC|
|00003560| 45 44 55 52 45 20 4d 61 | 6b 65 54 68 69 73 43 74 |EDURE Ma|keThisCt|
|00003570| 6c 54 61 72 67 65 74 20 | 28 20 63 74 6c 54 6f 42 |lTarget |( ctlToB|
|00003580| 65 54 61 72 67 65 74 3a | 43 74 6c 52 65 63 48 6e |eTarget:|CtlRecHn|
|00003590| 64 6c 29 20 20 3b 0d 50 | 52 4f 43 45 44 55 52 45 |dl) ;.P|ROCEDURE|
|000035a0| 20 4d 6f 76 65 43 6f 6e | 74 72 6f 6c 20 28 20 6e | MoveCon|trol ( n|
|000035b0| 65 77 58 3a 49 6e 74 65 | 67 65 72 3b 20 6e 65 77 |ewX:Inte|ger; new|
|000035c0| 59 3a 49 6e 74 65 67 65 | 72 3b 20 74 68 65 43 6f |Y:Intege|r; theCo|
|000035d0| 6e 74 72 6f 6c 48 61 6e | 64 6c 65 3a 43 74 6c 52 |ntrolHan|dle:CtlR|
|000035e0| 65 63 48 6e 64 6c 29 20 | 20 3b 0d 46 55 4e 43 54 |ecHndl) | ;.FUNCT|
|000035f0| 49 4f 4e 20 20 4e 65 77 | 43 6f 6e 74 72 6f 6c 20 |ION New|Control |
|00003600| 28 20 74 68 65 57 69 6e | 64 6f 77 50 74 72 3a 57 |( theWin|dowPtr:W|
|00003610| 69 6e 64 6f 77 50 74 72 | 3b 20 62 6f 75 6e 64 73 |indowPtr|; bounds|
|00003620| 52 65 63 74 50 74 72 3a | 52 65 63 74 3b 20 74 69 |RectPtr:|Rect; ti|
|00003630| 74 6c 65 50 74 72 3a 50 | 74 72 3b 20 66 6c 61 67 |tlePtr:P|tr; flag|
|00003640| 3a 49 6e 74 65 67 65 72 | 3b 20 76 61 6c 75 65 20 |:Integer|; value |
|00003650| 3a 49 6e 74 65 67 65 72 | 3b 20 70 61 72 61 6d 31 |:Integer|; param1|
|00003660| 3a 49 6e 74 65 67 65 72 | 3b 20 70 61 72 61 6d 32 |:Integer|; param2|
|00003670| 3a 49 6e 74 65 67 65 72 | 3b 20 64 65 66 50 72 6f |:Integer|; defPro|
|00003680| 63 50 74 72 3a 4c 6f 6e | 67 50 72 6f 63 50 74 72 |cPtr:Lon|gProcPtr|
|00003690| 3b 20 72 65 66 43 6f 6e | 3a 4c 6f 6e 67 69 6e 74 |; refCon|:Longint|
|000036a0| 3b 20 6e 65 77 43 6f 6c | 6f 72 54 61 62 6c 65 50 |; newCol|orTableP|
|000036b0| 74 72 3a 43 6f 6c 6f 72 | 54 61 62 6c 65 50 74 72 |tr:Color|TablePtr|
|000036c0| 29 20 3a 20 43 74 6c 52 | 65 63 48 6e 64 6c 20 3b |) : CtlR|ecHndl ;|
|000036d0| 0d 46 55 4e 43 54 49 4f | 4e 20 20 4e 65 77 43 6f |.FUNCTIO|N NewCo|
|000036e0| 6e 74 72 6f 6c 32 20 28 | 20 6f 77 6e 65 72 50 74 |ntrol2 (| ownerPt|
|000036f0| 72 3a 57 69 6e 64 6f 77 | 50 74 72 3b 20 69 6e 70 |r:Window|Ptr; inp|
|00003700| 75 74 44 65 73 63 3a 52 | 65 66 44 65 73 63 72 69 |utDesc:R|efDescri|
|00003710| 70 74 6f 72 3b 20 69 6e | 70 75 74 52 65 66 3a 52 |ptor; in|putRef:R|
|00003720| 65 66 29 20 3a 20 43 74 | 6c 52 65 63 48 6e 64 6c |ef) : Ct|lRecHndl|
|00003730| 20 3b 0d 50 52 4f 43 45 | 44 55 52 45 20 4e 6f 74 | ;.PROCE|DURE Not|
|00003740| 69 66 79 43 6f 6e 74 72 | 6f 6c 73 20 28 20 6e 6f |ifyContr|ols ( no|
|00003750| 74 69 66 79 4d 61 73 6b | 3a 49 6e 74 65 67 65 72 |tifyMask|:Integer|
|00003760| 3b 20 6d 65 73 73 61 67 | 65 3a 49 6e 74 65 67 65 |; messag|e:Intege|
|00003770| 72 3b 20 6e 6f 74 69 66 | 79 50 61 72 61 6d 3a 4c |r; notif|yParam:L|
|00003780| 6f 6e 67 69 6e 74 3b 20 | 77 69 6e 64 6f 77 3a 57 |ongint; |window:W|
|00003790| 69 6e 64 6f 77 50 74 72 | 29 20 20 3b 0d 50 52 4f |indowPtr|) ;.PRO|
|000037a0| 43 45 44 55 52 45 20 4e | 6f 74 69 66 79 43 74 6c |CEDURE N|otifyCtl|
|000037b0| 73 20 28 20 6d 6f 72 65 | 46 6c 61 67 73 4d 61 73 |s ( more|FlagsMas|
|000037c0| 6b 3a 49 6e 74 65 67 65 | 72 3b 20 63 74 6c 4d 65 |k:Intege|r; ctlMe|
|000037d0| 73 73 61 67 65 3a 49 6e | 74 65 67 65 72 3b 20 63 |ssage:In|teger; c|
|000037e0| 74 6c 50 61 72 61 6d 3a | 4c 6f 6e 67 69 6e 74 3b |tlParam:|Longint;|
|000037f0| 20 74 68 65 57 69 6e 64 | 6f 77 50 74 72 3a 57 69 | theWind|owPtr:Wi|
|00003800| 6e 64 6f 77 50 74 72 29 | 20 20 3b 0d 46 55 4e 43 |ndowPtr)| ;.FUNC|
|00003810| 54 49 4f 4e 20 20 53 65 | 6e 64 45 76 65 6e 74 54 |TION Se|ndEventT|
|00003820| 6f 43 74 6c 20 28 20 74 | 61 72 67 65 74 4f 6e 6c |oCtl ( t|argetOnl|
|00003830| 79 46 6c 61 67 3a 49 6e | 74 65 67 65 72 3b 20 63 |yFlag:In|teger; c|
|00003840| 74 6c 57 69 6e 64 6f 77 | 50 74 72 3a 57 69 6e 64 |tlWindow|Ptr:Wind|
|00003850| 6f 77 50 74 72 3b 20 65 | 54 61 73 6b 52 65 63 50 |owPtr; e|TaskRecP|
|00003860| 74 72 3a 50 74 72 29 20 | 3a 20 42 6f 6f 6c 65 61 |tr:Ptr) |: Boolea|
|00003870| 6e 20 3b 0d 50 52 4f 43 | 45 44 55 52 45 20 53 65 |n ;.PROC|EDURE Se|
|00003880| 74 43 74 6c 41 63 74 69 | 6f 6e 20 28 20 6e 65 77 |tCtlActi|on ( new|
|00003890| 41 63 74 69 6f 6e 50 74 | 72 3a 4c 6f 6e 67 50 72 |ActionPt|r:LongPr|
|000038a0| 6f 63 50 74 72 3b 20 74 | 68 65 43 6f 6e 74 72 6f |ocPtr; t|heContro|
|000038b0| 6c 48 61 6e 64 6c 65 3a | 43 74 6c 52 65 63 48 6e |lHandle:|CtlRecHn|
|000038c0| 64 6c 29 20 20 3b 0d 46 | 55 4e 43 54 49 4f 4e 20 |dl) ;.F|UNCTION |
|000038d0| 20 53 65 74 43 74 6c 49 | 63 6f 6e 73 20 28 20 6e | SetCtlI|cons ( n|
|000038e0| 65 77 46 6f 6e 74 48 61 | 6e 64 6c 65 3a 46 6f 6e |ewFontHa|ndle:Fon|
|000038f0| 74 48 6e 64 6c 29 20 3a | 20 46 6f 6e 74 48 6e 64 |tHndl) :| FontHnd|
|00003900| 6c 20 3b 0d 50 52 4f 43 | 45 44 55 52 45 20 53 65 |l ;.PROC|EDURE Se|
|00003910| 74 43 74 6c 49 44 20 28 | 20 6e 65 77 49 44 3a 4c |tCtlID (| newID:L|
|00003920| 6f 6e 67 69 6e 74 3b 20 | 63 74 6c 48 61 6e 64 6c |ongint; |ctlHandl|
|00003930| 65 3a 43 74 6c 52 65 63 | 48 6e 64 6c 29 20 20 3b |e:CtlRec|Hndl) ;|
|00003940| 0d 50 52 4f 43 45 44 55 | 52 45 20 53 65 74 43 74 |.PROCEDU|RE SetCt|
|00003950| 6c 4d 6f 72 65 46 6c 61 | 67 73 20 28 20 6e 65 77 |lMoreFla|gs ( new|
|00003960| 4d 6f 72 65 46 6c 61 67 | 73 3a 49 6e 74 65 67 65 |MoreFlag|s:Intege|
|00003970| 72 3b 20 63 74 6c 48 61 | 6e 64 6c 65 3a 43 74 6c |r; ctlHa|ndle:Ctl|
|00003980| 52 65 63 48 6e 64 6c 29 | 20 20 3b 0d 50 52 4f 43 |RecHndl)| ;.PROC|
|00003990| 45 44 55 52 45 20 53 65 | 74 43 74 6c 50 61 72 61 |EDURE Se|tCtlPara|
|000039a0| 6d 50 74 72 20 28 20 53 | 75 62 41 72 72 61 79 50 |mPtr ( S|ubArrayP|
|000039b0| 74 72 3a 50 74 72 29 20 | 20 3b 0d 50 52 4f 43 45 |tr:Ptr) | ;.PROCE|
|000039c0| 44 55 52 45 20 53 65 74 | 43 74 6c 50 61 72 61 6d |DURE Set|CtlParam|
|000039d0| 73 20 28 20 70 61 72 61 | 6d 32 3a 49 6e 74 65 67 |s ( para|m2:Integ|
|000039e0| 65 72 3b 20 70 61 72 61 | 6d 31 3a 49 6e 74 65 67 |er; para|m1:Integ|
|000039f0| 65 72 3b 20 74 68 65 43 | 6f 6e 74 72 6f 6c 48 61 |er; theC|ontrolHa|
|00003a00| 6e 64 6c 65 3a 43 74 6c | 52 65 63 48 6e 64 6c 29 |ndle:Ctl|RecHndl)|
|00003a10| 20 20 3b 0d 50 52 4f 43 | 45 44 55 52 45 20 53 65 | ;.PROC|EDURE Se|
|00003a20| 74 43 74 6c 52 65 66 43 | 6f 6e 20 28 20 6e 65 77 |tCtlRefC|on ( new|
|00003a30| 52 65 66 43 6f 6e 3a 4c | 6f 6e 67 69 6e 74 3b 20 |RefCon:L|ongint; |
|00003a40| 74 68 65 43 6f 6e 74 72 | 6f 6c 48 61 6e 64 6c 65 |theContr|olHandle|
|00003a50| 3a 43 74 6c 52 65 63 48 | 6e 64 6c 29 20 20 3b 0d |:CtlRecH|ndl) ;.|
|00003a60| 50 52 4f 43 45 44 55 52 | 45 20 53 65 74 43 74 6c |PROCEDUR|E SetCtl|
|00003a70| 54 69 74 6c 65 20 28 20 | 74 69 74 6c 65 3a 53 74 |Title ( |title:St|
|00003a80| 72 32 35 35 3b 20 74 68 | 65 43 6f 6e 74 72 6f 6c |r255; th|eControl|
|00003a90| 48 61 6e 64 6c 65 3a 43 | 74 6c 52 65 63 48 6e 64 |Handle:C|tlRecHnd|
|00003aa0| 6c 29 20 20 3b 0d 50 52 | 4f 43 45 44 55 52 45 20 |l) ;.PR|OCEDURE |
|00003ab0| 53 65 74 43 74 6c 56 61 | 6c 75 65 20 28 20 63 75 |SetCtlVa|lue ( cu|
|00003ac0| 72 56 61 6c 75 65 3a 49 | 6e 74 65 67 65 72 3b 20 |rValue:I|nteger; |
|00003ad0| 74 68 65 43 6f 6e 74 72 | 6f 6c 48 61 6e 64 6c 65 |theContr|olHandle|
|00003ae0| 3a 43 74 6c 52 65 63 48 | 6e 64 6c 29 20 20 3b 0d |:CtlRecH|ndl) ;.|
|00003af0| 50 52 4f 43 45 44 55 52 | 45 20 53 68 6f 77 43 6f |PROCEDUR|E ShowCo|
|00003b00| 6e 74 72 6f 6c 20 28 20 | 74 68 65 43 6f 6e 74 72 |ntrol ( |theContr|
|00003b10| 6f 6c 48 61 6e 64 6c 65 | 3a 43 74 6c 52 65 63 48 |olHandle|:CtlRecH|
|00003b20| 6e 64 6c 29 20 20 3b 0d | 46 55 4e 43 54 49 4f 4e |ndl) ;.|FUNCTION|
|00003b30| 20 20 54 65 73 74 43 6f | 6e 74 72 6f 6c 20 28 20 | TestCo|ntrol ( |
|00003b40| 70 6f 69 6e 74 58 3a 49 | 6e 74 65 67 65 72 3b 20 |pointX:I|nteger; |
|00003b50| 70 6f 69 6e 74 59 3a 49 | 6e 74 65 67 65 72 3b 20 |pointY:I|nteger; |
|00003b60| 74 68 65 43 6f 6e 74 72 | 6f 6c 48 61 6e 64 6c 65 |theContr|olHandle|
|00003b70| 3a 43 74 6c 52 65 63 48 | 6e 64 6c 29 20 3a 20 49 |:CtlRecH|ndl) : I|
|00003b80| 6e 74 65 67 65 72 20 3b | 0d 46 55 4e 43 54 49 4f |nteger ;|.FUNCTIO|
|00003b90| 4e 20 20 54 72 61 63 6b | 43 6f 6e 74 72 6f 6c 20 |N Track|Control |
|00003ba0| 28 20 73 74 61 72 74 58 | 3a 49 6e 74 65 67 65 72 |( startX|:Integer|
|00003bb0| 3b 20 73 74 61 72 74 59 | 3a 49 6e 74 65 67 65 72 |; startY|:Integer|
|00003bc0| 3b 20 61 63 74 69 6f 6e | 50 72 6f 63 50 74 72 3a |; action|ProcPtr:|
|00003bd0| 4c 6f 6e 67 50 72 6f 63 | 50 74 72 3b 20 74 68 65 |LongProc|Ptr; the|
|00003be0| 43 6f 6e 74 72 6f 6c 48 | 6e 64 6c 3a 43 74 6c 52 |ControlH|ndl:CtlR|
|00003bf0| 65 63 48 6e 64 6c 29 20 | 3a 20 49 6e 74 65 67 65 |ecHndl) |: Intege|
|00003c00| 72 20 3b 0d 0d 46 55 4e | 43 54 49 4f 4e 20 46 69 |r ;..FUN|CTION Fi|
|00003c10| 6e 64 52 61 64 69 6f 42 | 75 74 74 6f 6e 28 74 68 |ndRadioB|utton(th|
|00003c20| 65 57 69 6e 64 6f 77 3a | 57 69 6e 64 6f 77 50 74 |eWindow:|WindowPt|
|00003c30| 72 3b 20 74 68 65 46 61 | 6d 69 6c 79 3a 69 6e 74 |r; theFa|mily:int|
|00003c40| 65 67 65 72 29 3a 20 69 | 6e 74 65 67 65 72 3b 0d |eger): i|nteger;.|
|00003c50| 50 52 4f 43 45 44 55 52 | 45 20 53 65 74 4c 45 54 |PROCEDUR|E SetLET|
|00003c60| 65 78 74 42 79 49 44 28 | 74 68 65 57 69 6e 64 6f |extByID(|theWindo|
|00003c70| 77 3a 57 69 6e 64 6f 77 | 50 74 72 3b 20 74 68 65 |w:Window|Ptr; the|
|00003c80| 49 44 3a 6c 6f 6e 67 69 | 6e 74 3b 20 73 3a 53 74 |ID:longi|nt; s:St|
|00003c90| 72 69 6e 67 50 74 72 29 | 3b 0d 50 52 4f 43 45 44 |ringPtr)|;.PROCED|
|00003ca0| 55 52 45 20 47 65 74 4c | 45 54 65 78 74 42 79 49 |URE GetL|ETextByI|
|00003cb0| 44 28 74 68 65 57 69 6e | 64 6f 77 3a 57 69 6e 64 |D(theWin|dow:Wind|
|00003cc0| 6f 77 50 74 72 3b 20 74 | 68 65 49 44 3a 6c 6f 6e |owPtr; t|heID:lon|
|00003cd0| 67 69 6e 74 3b 20 73 3a | 53 74 72 69 6e 67 50 74 |gint; s:|StringPt|
|00003ce0| 72 29 3b 0d 0d 50 52 4f | 43 45 44 55 52 45 20 53 |r);..PRO|CEDURE S|
|00003cf0| 65 74 43 74 6c 56 61 6c | 75 65 42 79 49 44 20 28 |etCtlVal|ueByID (|
|00003d00| 63 75 72 56 61 6c 75 65 | 3a 49 6e 74 65 67 65 72 |curValue|:Integer|
|00003d10| 3b 20 74 68 65 57 69 6e | 64 6f 77 3a 57 69 6e 64 |; theWin|dow:Wind|
|00003d20| 6f 77 50 74 72 3b 20 74 | 68 65 49 44 3a 6c 6f 6e |owPtr; t|heID:lon|
|00003d30| 67 69 6e 74 29 3b 0d 20 | 20 49 4e 4c 49 4e 45 20 |gint);. | INLINE |
|00003d40| 24 41 32 2c 24 33 43 31 | 30 2c 24 32 32 2c 24 45 |$A2,$3C1|0,$22,$E|
|00003d50| 31 30 30 30 30 2c 24 38 | 46 2c 27 5f 74 6f 6f 6c |10000,$8|F,'_tool|
|00003d60| 45 72 72 27 3b 0d 46 55 | 4e 43 54 49 4f 4e 20 20 |Err';.FU|NCTION |
|00003d70| 47 65 74 43 74 6c 56 61 | 6c 75 65 42 79 49 44 20 |GetCtlVa|lueByID |
|00003d80| 28 74 68 65 57 69 6e 64 | 6f 77 3a 57 69 6e 64 6f |(theWind|ow:Windo|
|00003d90| 77 50 74 72 3b 20 74 68 | 65 49 44 3a 6c 6f 6e 67 |wPtr; th|eID:long|
|00003da0| 69 6e 74 29 20 3a 20 49 | 6e 74 65 67 65 72 20 3b |int) : I|nteger ;|
|00003db0| 0d 20 20 49 4e 4c 49 4e | 45 20 24 41 32 2c 24 33 |. INLIN|E $A2,$3|
|00003dc0| 44 31 30 2c 24 32 32 2c | 24 45 31 30 30 30 30 2c |D10,$22,|$E10000,|
|00003dd0| 24 38 46 2c 27 5f 74 6f | 6f 6c 45 72 72 27 3b 0d |$8F,'_to|olErr';.|
|00003de0| 50 52 4f 43 45 44 55 52 | 45 20 49 6e 76 61 6c 4f |PROCEDUR|E InvalO|
|00003df0| 6e 65 43 74 6c 42 79 49 | 44 20 28 74 68 65 57 69 |neCtlByI|D (theWi|
|00003e00| 6e 64 6f 77 3a 57 69 6e | 64 6f 77 50 74 72 3b 20 |ndow:Win|dowPtr; |
|00003e10| 74 68 65 49 44 3a 6c 6f | 6e 67 69 6e 74 29 3b 0d |theID:lo|ngint);.|
|00003e20| 20 20 49 4e 4c 49 4e 45 | 20 24 41 32 2c 24 33 45 | INLINE| $A2,$3E|
|00003e30| 31 30 2c 24 32 32 2c 24 | 45 31 30 30 30 30 2c 24 |10,$22,$|E10000,$|
|00003e40| 38 46 2c 27 5f 74 6f 6f | 6c 45 72 72 27 3b 0d 50 |8F,'_too|lErr';.P|
|00003e50| 52 4f 43 45 44 55 52 45 | 20 48 69 6c 69 74 65 43 |ROCEDURE| HiliteC|
|00003e60| 74 6c 42 79 49 44 20 28 | 68 69 6c 69 74 65 53 74 |tlByID (|hiliteSt|
|00003e70| 61 74 65 3a 49 6e 74 65 | 67 65 72 3b 20 74 68 65 |ate:Inte|ger; the|
|00003e80| 57 69 6e 64 6f 77 3a 57 | 69 6e 64 6f 77 50 74 72 |Window:W|indowPtr|
|00003e90| 3b 20 74 68 65 49 44 3a | 6c 6f 6e 67 69 6e 74 29 |; theID:|longint)|
|00003ea0| 3b 0d 20 20 49 4e 4c 49 | 4e 45 20 24 41 32 2c 24 |;. INLI|NE $A2,$|
|00003eb0| 33 46 31 30 2c 24 32 32 | 2c 24 45 31 30 30 30 30 |3F10,$22|,$E10000|
|00003ec0| 2c 24 38 46 2c 27 5f 74 | 6f 6f 6c 45 72 72 27 3b |,$8F,'_t|oolErr';|
|00003ed0| 0d 0d 49 4d 50 4c 45 4d | 45 4e 54 41 54 49 4f 4e |..IMPLEM|ENTATION|
|00003ee0| 0d 0d 45 4e 44 2e 0d 00 | 00 00 00 00 00 00 00 00 |..END...|........|
|00003ef0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003f00| 00 00 01 00 00 00 01 6e | 00 00 00 6e 00 00 00 3e |.......n|...n...>|
|00003f10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003f20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003f30| 0a 43 6f 6e 74 72 6f 6c | 73 2e 70 00 02 00 00 00 |.Control|s.p.....|
|00003f40| 54 45 58 54 4d 50 53 20 | 01 00 ff ff ff ff 00 00 |TEXTMPS |........|
|00003f50| 00 00 54 45 58 54 4d 50 | 53 20 01 00 ff ff ff ff |..TEXTMP|S ......|
|00003f60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003f70| 00 00 a1 49 b4 90 00 00 | 3e 67 00 00 01 ac 00 00 |...I....|>g......|
|00003f80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003f90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003fa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003fb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003fc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003fd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003fe0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ff0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004000| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 0a 01 ac |...H..Mo|naco....|
|00004010| 00 00 00 28 7f ff 7f ff | 00 29 02 0f 00 00 00 1c |...(....|.)......|
|00004020| 00 b1 00 16 00 b1 00 06 | 00 04 00 2c 00 a8 01 43 |........|...,...C|
|00004030| 02 41 00 3c 00 24 01 53 | 01 bd a4 a1 c7 30 00 00 |.A.<.$.S|.....0..|
|00004040| 3c 21 00 00 3c 21 00 00 | 38 7e 01 00 00 00 00 1e |<!..<!..|8~......|
|00004050| 00 2c 00 a8 01 43 02 41 | 00 3c 00 24 01 53 01 bd |.,...C.A|.<.$.S..|
|00004060| 00 00 38 7e 00 00 00 00 | 00 00 00 00 00 00 00 00 |..8~....|........|
|00004070| 01 00 00 00 01 6e 00 00 | 00 6e 00 00 00 3e 00 93 |.....n..|.n...>..|
|00004080| df d8 0e b2 00 00 00 1c | 00 3e 00 00 4d 50 53 52 |........|.>..MPSR|
|00004090| 00 01 00 0a 03 ed ff ff | 00 00 00 00 00 00 00 00 |........|........|
|000040a0| 03 f0 ff ff 00 00 00 4c | 00 00 00 00 00 00 00 00 |.......L|........|
|000040b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000040c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000040d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000040e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000040f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+